[participants database] Hidden fields do not get the post value
-
All,
I am trying to fill a hidden field in the participants database, but am not successful and getting a little frustrated.
I followed the instructions given in the help manual but somehow I can not get a hidden field filled.
I am developing in the WAMP.
Here are the manual instructions for the participants database.
Hidden Signup Fields
There is a field type called “hidden” that can be used to add dynamic values to the signup form submissions. For instance, if you had the signup form in multiple locations on your blog, you could know which page the user was on when they signed up because the page name would be placed in a hidden field. Here is a quick tutorial showing how to add a field that tracks the page the signup form is on:Add a new field with a descriptive name, like “source page”
Make that field a hidden type
For the default value, put “post->post_title”
This will fill in the title of the page the signup form appears on.
When the form is submitted, the information in the hidden field will be included. At the moment, only two WordPress objects are available: $post and $current_user.I even named my database field the same.
I also tried this
[pdb_signup input type=hidden name=post_title value=”training” ]But whatever I try the field post_title remains empty.
Who can help?
- The topic ‘[participants database] Hidden fields do not get the post value’ is closed to new replies.