PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Multiple User Registration

  1. vixvii
    Member

    I had a look at this post (http://www.gravityhelp.com/forums/topic/multiple-user-registration) and this is exactly what I am using, except that I am missing something.

    I pasted the code in my functions.php file (http://pastie.org/2339194) and changed the form id to 13. Am I supposed to change something on line 11 too to specify my email field's id?

    My form is on http://jfllsa.org/team-registration/

    Posted 12 years ago on Monday June 4, 2012 | Permalink
  2. vixvii
    Member

    Sorry - my code looks like this : http://www.pastie.org/4031541

    Posted 12 years ago on Tuesday June 5, 2012 | Permalink
  3. Hi vixvii,

    Try this: http://www.pastie.org/4040657

    Posted 12 years ago on Wednesday June 6, 2012 | Permalink
  4. vixvii
    Member

    Thanks David,

    Sorry it took so long to respond. I am trying to see what u changed? But it is working now. Thanks so much!

    Posted 12 years ago on Tuesday June 12, 2012 | Permalink
  5. The original snippet was written for a guy who had a custom validation message. I changed the string on this line to check for the generic validation message:

    [php]
    if($field['id'] == $email_id && $field['validation_message'] == 'This email address is already registered')

    Glad to hear it's working for you! :)

    Posted 12 years ago on Tuesday June 12, 2012 | Permalink