Events Made Easy Forums Bug fixed or feature request implemented Form not submitting with required custom fields

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #44146
    Anonymous
    Inactive

    Hi, I’m having trouble submitting a form with custom fields.

    When the custom fields are not required, the form submits without problems.

    When any of the custom fields are required, I keep on getting a validation error (“Please make sure all of the following required fields are filled out correctly:”) no matter how many times I submit with all fields filled out. When the page is refreshed to show the validation error, all fields are erased except for the non-custom ones (name, email, phone, comments).

    I’ve tested this out with two different sites on two different servers – same results. I’ve deactivated all other plugins – same results.

    Is there something I need to check in the backend settings?

    Here’s a sample form:

    http://www.i2websolutions.com/events/4/seminar/

    Any help would be appreciated. Thanks.

    #51140
    Franky
    Keymaster

    I can’t reproduce that here. Can you post the setting “Registration form format” ?

    And the definitions of your custom fields?

    Or a temp admin account so I can take a look?

    #51141
    Anonymous
    Inactive

    REGISTRATION FORM FORMAT:

    <br />
    <br/ ></p>
    <p><h3>REGISTRATION FORM</h3></p>
    <p><h3>Contact Information</h3></p>
    <p><p>Last Name<br />
    #_NAME</p></p>
    <p><p>First Name<br />
    #_FIELD01</p></p>
    <p><p>Email Address<br />
    #_EMAIL</p></p>
    <p><p>Phone Number<br />
    #_PHONE</p></p>
    <p><p>Best way to reach you?<br />
    #REQ_FIELD02</p></p>
    <p></p>
    <p><p>Partner's Last Name<br />
    #REQ_FIELD03</p></p>
    <p><p>Partner's First Name<br />
    #REQ_FIELD04</p></p>
    <p><p>Partner's Email Address<br />
    #REQ_FIELD05</p></p>
    <p><p>Partner's Phone Number<br />
    #REQ_FIELD06</p></p>
    <p><p>Best way to reach partner?<br />
    #REQ_FIELD07</p></p>
    <p><p>Comments, questions or concerns:<br />
    #_COMMENT</p></p>
    <p><p style="display:none;">Spaces:<br />
    #_SEATS</p></p>
    <p><div style="clear:both;"></div></p>
    <p></p>
    <p><p>#_SUBMIT[REGISTER]</p><br />
    </code>

    FORM FIELDS:

    1 First Name Text

    2 Best way to reach you? DropDown Email||Phone

    3 Partner's Last Name Text

    4 Partner's First Name Text

    5 Partner's Email Address Text

    6 Partner's Phone Number Text

    7 Best way to reach partner? DropDown Email||Phone

    Hopefully, that's sufficient.

    If you still need to access the admin, let me know.

    #51142
    Franky
    Keymaster

    You made a small error and brought my attention to a bug:

    – you should use the ID of the field, not add a zero in front of it: #REQ_FIELD3 in stead of #REQ_FIELD03

    – I should take this into account 🙂

    So for now: change these fields to their correct ID (without leading zero) and it should be ok.

    #51143
    Anonymous
    Inactive

    Ah ok, gotcha. In the documentation I saw the placeholder as #_FIELDxx so I assumed it had to be 2 digits. The form is working now.

    By the way, when there are validation errors, I still lose the data for custom fields. I’m assuming this is expected. Would be nice if the data was saved or the validation didn’t refresh the page.

    Anyway, thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.
Scroll to Top