Support » Themes and Templates » how to get user input

  • Hi

    I need a way to obtain some user input from a post.

    e.g. I have a post is about a home to rent. I need something like an input field, associated with that post ID, so users can make a reservation to a certain date. This date would be associated to the post in any manner, like a custom field or something.

    But even simpler i need to know how can a user can fill an input field in a post, with information that somehow will be written in the DB associated with that post.

    Can someone help, please?


Viewing 1 replies (of 1 total)
  • One way to accomplish this would be to add a form and populate a hidden field(s) with information about the post that you need. You could programmatically store this in a custom field using add_post_meta, however emailing the results is the easiest way to go about this.

Viewing 1 replies (of 1 total)
  • The topic ‘how to get user input’ is closed to new replies.