• Resolved cwkelly3

    (@cwkelly3)


    Hello. I am using the Participants Database plugin, setting up two different registration types as described in this post. I have most of it working, but I cannot resolve the registration page with the form_type field using the default value of post->post_name. The result is the literal “post->post_name”. Any assistance would be appreciated.

    Charles Kelly

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author xnau webdesign

    (@xnau)

    OK, here are the things to check:

    default value for the field should be post->post_name
    field needs to be a hidden field
    field needs to be enabled for the signup form

    additionally: if you’re defining your fields in the shortcode, make sure your hidden field is included

    To check if it’s working, load your signup form, then, using the browser developer tools, inspect the fields at the top of the signup form. You should see your hidden field in there.

    Thread Starter cwkelly3

    (@cwkelly3)

    Resolved!! Thank you for your help. I made two changes (hidden field, enabled for signup) and the form_type populated with the value of the post_name. Thank you!!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Using post->post_name as default value’ is closed to new replies.