Title: Multiple registration forms
Last modified: July 12, 2018

---

# Multiple registration forms

 *  [wiselamp](https://wordpress.org/support/users/wiselamp/)
 * (@wiselamp)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/multiple-registration-forms-8/)
 * Hi there!
    I have some problem with “Using Multiple Registration Forms”.
 * I created a field group (common) with 3 record, and oc a hidden one with a name
   postname.
    [https://i.imgur.com/ujZzW8p.png](https://i.imgur.com/ujZzW8p.png)
 * But this point i got stucked. On the result page the [pdb_list filter=”postname
   =jsz”] gives nothing for me ( on the same page the [pdb_list filter=’approve=
   no’] is working perfectly)
 * I figured it out, that the problem could be with the empty value of the postname,
   but i don’t know why.
    [https://i.imgur.com/oQX9jAQ.png](https://i.imgur.com/oQX9jAQ.png)
 * The value must be “jsz”, but nothing. I tried to change the theme, tried with
   the $post->post_title value (and post->post_name too), but nothing so far.
 * Am i doing something wrong? The shortcode on the sign-up page is
    [pdb_signup
   groups=”common”]
 * Thank you for your support, and that great plugin! 🙂
    Regards, Gabor
    -  This topic was modified 7 years, 11 months ago by [wiselamp](https://wordpress.org/support/users/wiselamp/).
    -  This topic was modified 7 years, 11 months ago by [wiselamp](https://wordpress.org/support/users/wiselamp/).

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

 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/multiple-registration-forms-8/#post-10488805)
 * To really understand what’s going in here, you need to look at what is in the
   database directly…in other words open it in phpMyAdmin so that you know exactly
   what you may need to match to and why your filter doesn’t match.
 * You may need to to a “substring” match like this:
 * `[pdb_list filter="postname~jsz"]`
 * but of course that could run into problems if there are other values that contain
   that string.
 *  Thread Starter [wiselamp](https://wordpress.org/support/users/wiselamp/)
 * (@wiselamp)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/multiple-registration-forms-8/#post-10488839)
 * But if the original ‘post_name’ Hidden field with ‘post->post_name’ value doesn’t
   store anything on the front-end (it should be the value of the page name), the
   filter will not work anyway, right?
 * Or it is possible that case it has the value, but the source code showqs this?
   
   <input name=”post_name” type=”hidden” value=”” />
 * ps.: i tried to set a direct value for the post_name (jsz), and the filter worked
   great. So my problem is what should i write to get the page name back.
    Strange,
   if i try it on a page: `<?php global $post; echo $post->post_name; ?>` on the
   frontend i got `post_name; ?>` seems like the -> is the problem, but unfortunately
   my experience of php coding isn’t enough for this. (i tried to change language
   and theme of course)
    -  This reply was modified 7 years, 11 months ago by [wiselamp](https://wordpress.org/support/users/wiselamp/).
    -  This reply was modified 7 years, 11 months ago by [wiselamp](https://wordpress.org/support/users/wiselamp/).
    -  This reply was modified 7 years, 11 months ago by [wiselamp](https://wordpress.org/support/users/wiselamp/).
 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/multiple-registration-forms-8/#post-10488978)
 * OK, probably what is happening is the visual editor is converting the code characters.
   Check your page in text mode, make sure the codes are correct, then save without
   going back to visual mode.
 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/multiple-registration-forms-8/#post-10488983)
 * Also, when using a dynamic hidden field, you need to make sure that is working
   first, before anything else.
 * Look at the HTML of the signup form (which you have done) and make sure that 
   the post name is showing up in the value of the hidden field. if it is not, something
   is wrong. Go back to the field definition and make sure the “default” value is
   correct, no spaces or anything that doesn’t belong there.
    -  This reply was modified 7 years, 11 months ago by [Roland Barker](https://wordpress.org/support/users/xnau/).
      Reason: for clarity
 *  Thread Starter [wiselamp](https://wordpress.org/support/users/wiselamp/)
 * (@wiselamp)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/multiple-registration-forms-8/#post-10495545)
 * The `post->post_name` value is correct (i sent screenshot in the first post).
   
   In the PHPMyAdmin, the value is `a:1:{s:15:"post->post_name";s:15:"post->post_name";}`
   The dynamic field still not working. I’m out of ideas. 🙁
    -  This reply was modified 7 years, 10 months ago by [wiselamp](https://wordpress.org/support/users/wiselamp/).
 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/multiple-registration-forms-8/#post-10495697)
 * The “post->post_name” should be set as the “default” value of the hidden field.
   I just noticed you have it in the “values” part of the field definition.
 *  Thread Starter [wiselamp](https://wordpress.org/support/users/wiselamp/)
 * (@wiselamp)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/multiple-registration-forms-8/#post-10495733)
 * Thank you very much! 🙂
 *  [bajan4evr2](https://wordpress.org/support/users/bajan4evr2/)
 * (@bajan4evr2)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/multiple-registration-forms-8/#post-10583480)
 * I hope I am not stepping on this thread but the topic I think relates to a question
   I have. How can I create multiple registration forms using the same fields? For
   example I have two different groups, A & B and they both use the same fields 
   but when I select a field from group A to put it in group B, it removes it from
   group A. I don’t want to have to create new fields for each group. Thanks
    -  This reply was modified 7 years, 10 months ago by [bajan4evr2](https://wordpress.org/support/users/bajan4evr2/).
 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/multiple-registration-forms-8/#post-10583888)
 * I know this is a little counter-intuitive, but when you set up a dynamic hidden
   field, the string for telling it which value to get goes in the “default” parameter
   for the field, not the “values” parameter as you have it.

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

The topic ‘Multiple registration forms’ is closed to new replies.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [Roland Barker](https://wordpress.org/support/users/xnau/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/multiple-registration-forms-8/#post-10583888)
 * Status: not resolved