WordPress.org

Ready to get started?Download WordPress

Forums

how to get user input (2 posts)

  1. camoes
    Member
    Posted 3 years ago #

    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?

    C

  2. chriseverson
    Member
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic