• This doesn’t seem to work in the new version:

    QUOTE from the FAQ
    Here is a quick tutorial 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.
    UNQUOTE

    I notice that record 1325 is not there any more. I uninstalled and re-installed this morning with no success in making this good feature functional again.

    http://wordpress.org/extend/plugins/participants-database/

Viewing 1 replies (of 1 total)
  • Plugin Author Roland Barker

    (@xnau)

    jstorck,

    The hidden field feature is tested working, so I can only suggest you make certain you have that default value in there exactly as written. You can try other properties of the post object…check this reference: http://www.rlmseo.com/blog/wordpress-post-variable-quick-reference/

    You had this working before and now it’s not? Is this in the signup form?

    Record 1325 was used previously as a dummy default record. I eliminated the need for it, so I deleted it to prevent it showing up as a real record.

Viewing 1 replies (of 1 total)

The topic ‘Hidden field default to WP object $post not working?’ is closed to new replies.