User Input Before Loading Post
-
Hello,
Is it possible to display a form that requires user input before the post loads? The form fields are specific to each post and would be generated dynamically (custom fields?). The values of the form fields are then sent to variables used in post. For example:
1. User visits post
2. Form field displays.
3. User completes the form field (Let’s say “Name”).
4. Value from id=”Name” form field is passed to post in the $name variable.
5. The post already contained the unique variables and now returns the user’s input:Happy Birthday $name!
I had started coding this function from scratch with PHP/mySQL, but I wondered if there was a way to do this in WordPress. Any help is appreciated.
- The topic ‘User Input Before Loading Post’ is closed to new replies.