Events Made Easy Forums Bug fixed or feature request implemented Req field not filled in and form submits fine

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #52366
    Anonymous
    Inactive

    My form submitted even though there was a required field blank. The req ToC was not checked and it submitted as well. Here is the RSVP template code.

    <table class=’eme-rsvp-form’>
    <tr><th scope=’row’ width=”200″>Parent or Guardian Name*:</th><td>#_NAME</td></tr>
    <tr><th scope=’row’>E-Mail*:</th><td>#_EMAIL</td></tr>
    <tr><th scope=’row’>Select Number One*:</th><td>#_SPACES</td></tr>
    <tr><th scope=’row’>Student’s First Name*:</th><td>#REQ_FIELD{1}</td></tr>
    <tr><th scope=’row’>Student’s Last Name*:</th><td>#REQ_FIELD{2}</td></tr>
    <tr><th scope=’row’>Grade for 2014-2015*:</th><td>#REQ_FIELD{3}</td></tr>
    <tr><th scope=’row’>Birth Date*:</th><td>#REQ_FIELD{4}</td></tr>
    <tr><th scope=’row’>Gender*:</th><td>#REQ_FIELD{5}</td></tr>
    <tr><th scope=’row’>Home Address*:</th><td>#REQ_FIELD{7}</td></tr>
    <tr><th scope=‘row’>City*:</th><td>#REQ_FIELD{8}</td></tr>
    <tr><th scope=‘row’>State*:</th><td>#REQ_FIELD{9}</td></tr>
    <tr><th scope=’row’>Zip Code*:</th><td>#REQ_FIELD{10}</td></tr>
    <tr><th scope=’row’>Mom’s primary phone number*:</th><td>#REQ_PHONE</td></tr>
    <tr><th scope=’row’>Dad’s primary phone number*:</th><td>#REQ_FIELD{11}</td></tr>
    <tr><th scope=’row’>Emergency contact number*:</th><td>#REQ_FIELD{13}</td></tr>
    <tr><th scope=’row’>Name and relationship*:</th><td>#REQ_FIELD{14}</td></tr>
    <tr><th scope=’row’>Home Church/Branch*:</th><td>#REQ_FIELD{15}</td></tr>
    <tr><th scope=’row’>Allergies &/or medical conditions*:</th><td>#REQ_FIELD{16}</td></tr>
    <tr><th scope=’row’>Agree to Guidelines*</th><td>#REQ_FIELD{17}</td></tr>
    <tr><th scope=’row’>Comment:</th><td>#_COMMENT</td></tr>
    #_CAPTCHAHTML{<tr><th scope=’row’>Please fill in the code displayed here:</th><td>#_CAPTCHA</td></tr>}
    </table>
    #_SUBMIT

    #52367
    Anonymous
    Inactive

    Actually it looks like this.

    <table class=’eme-rsvp-form’>
    <tr><th scope=’row’>Parent or Guardian Name*:</th><td>#_NAME</td></tr>
    <tr><th scope=’row’>E-Mail*:</th><td>#_EMAIL</td></tr>
    <tr><th scope=’row’>Select Number One*:</th><td>#_SPACES</td></tr>
    <tr><th scope=’row’>Student’s First Name*:</th><td>#REQ_FIELD{1}</td></tr>
    <tr><th scope=’row’>Student’s Last Name*:</th><td>#REQ_FIELD{2}</td></tr>
    <tr><th scope=’row’>Grade for 2014-2015*:</th><td>#REQ_FIELD{3}</td></tr>
    <tr><th scope=’row’>Birth Date*:</th><td>#REQ_FIELD{4}</td></tr>
    <tr><th scope=’row’>Gender*:</th><td>#REQ_FIELD{5}</td></tr>
    <tr><th scope=’row’>Home Address*:</th><td>#REQ_FIELD{7}</td></tr>
    <tr><th scope=‘row’>City*:</th><td>#REQ_FIELD{8}</td></tr>
    <tr><th scope=‘row’>State*:</th><td>#REQ_FIELD{9}</td></tr>
    <tr><th scope=’row’>Zip Code*:</th><td>#REQ_FIELD{10}</td></tr>
    <tr><th scope=’row’>Mom’s primary phone number*:</th><td>#REQ_PHONE</td></tr>
    <tr><th scope=’row’>Dad’s primary phone number*:</th><td>#REQ_FIELD{11}</td></tr>
    <tr><th scope=’row’>Emergency contact number*:</th><td>#REQ_FIELD{13}</td></tr>
    <tr><th scope=’row’>Name and relationship*:</th><td>#REQ_FIELD{14}</td></tr>
    <tr><th scope=’row’>Home Church/Branch*:</th><td>#REQ_FIELD{15}</td></tr>
    <tr><th scope=’row’>Allergies &/or medical conditions*:</th><td>#REQ_FIELD{16}</td></tr>
    <tr><th scope=’row’>Agree to Guidelines*</th><td>#REQ_FIELD{17}</td></tr>
    <tr><th scope=’row’>Comment:</th><td>#_COMMENT</td></tr>
    #_CAPTCHAHTML{<tr><th scope=’row’>Please fill in the code displayed here:</th><td>#_CAPTCHA</td></tr>}
    </table>
    #_SUBMIT

    And here is the website and form:
    http://www.zionscompass.com/events/2014-08-04/

    #52368
    Anonymous
    Inactive
    <table class='eme-rsvp-form'>
                <tr><th scope='row'>Parent or Guardian Name*:</th><td>#_NAME</td></tr>
                <tr><th scope='row'>E-Mail*:</th><td>#_EMAIL</td></tr>
                <tr><th scope='row'>Select Number One*:</th><td>#_SPACES</td></tr>
                <tr><th scope='row'>Student's First Name*:</th><td>#REQ_FIELD{1}</td></tr>
                <tr><th scope='row'>Student's Last Name*:</th><td>#REQ_FIELD{2}</td></tr>
                <tr><th scope='row'>Grade for 2014-2015*:</th><td>#REQ_FIELD{3}</td></tr>
                <tr><th scope='row'>Birth Date*:</th><td>#REQ_FIELD{4}</td></tr>
                <tr><th scope='row'>Gender*:</th><td>#REQ_FIELD{5}</td></tr>
                <tr><th scope='row'>Home Address*:</th><td>#REQ_FIELD{7}</td></tr>
                <tr><th scope=‘row'>City*:</th><td>#REQ_FIELD{8}</td></tr>
                <tr><th scope=‘row'>State*:</th><td>#REQ_FIELD{9}</td></tr>
                <tr><th scope='row'>Zip Code*:</th><td>#REQ_FIELD{10}</td></tr>
                <tr><th scope='row'>Mom's primary phone number*:</th><td>#REQ_PHONE</td></tr>
                <tr><th scope='row'>Dad's primary phone number*:</th><td>#REQ_FIELD{11}</td></tr>
                <tr><th scope='row'>Emergency contact number*:</th><td>#REQ_FIELD{13}</td></tr>
                <tr><th scope='row'>Name and relationship*:</th><td>#REQ_FIELD{14}</td></tr>
                <tr><th scope='row'>Home Church/Branch*:</th><td>#REQ_FIELD{15}</td></tr>
                <tr><th scope='row'>Allergies &/or medical conditions*:</th><td>#REQ_FIELD{16}</td></tr>
                <tr><th scope='row'>Agree to <a onclick="window.open('http://www.zionscompass.com/co-op-guideline-agreement/','name','width=980,height=400')">Guidelines</a>*</th><td>#REQ_FIELD{17}</td></tr>
                <tr><th scope='row'>Comment:</th><td>#_COMMENT</td></tr>
                #_CAPTCHAHTML{<tr><th scope='row'>Please fill in the code displayed here:</th><td>#_CAPTCHA</td></tr>}
                </table>
                #_SUBMIT
    #52372
    Franky
    Keymaster

    What is the “ToC” field? Is it the “Agree to Guidelines” field?

    #52373
    Franky
    Keymaster

    I just tried to register on your site, and it seems that none of the required fields (apart name/email) work as expected. I’ll check this out this evening.

    #52374
    Franky
    Keymaster

    Ok, found it: for the detection of required fields, I didn’t take into account the fact that you can now use templates for it too.
    So, since I ignored the template, I used the default format for the event when searching for the required fields, which of course doesn’t include those fields.

    Fixed it in trunk with this:
    http://plugins.trac.wordpress.org/changeset/932112

    #52541
    Anonymous
    Inactive

    I’m sorry I’m not sure what I’m suppose to do. What is a trunk and what do I do with it? Thanks.

    #52542
    Franky
    Keymaster

    Yes, sorry. Trunk means the development version. But since then, it has been released, so just updating the plugin should be sufficient.

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