• Resolved sparkfactor

    (@sparkfactor)


    Hello

    For some reason I have text fields that are NOT set as ‘*Required’ yet upon submitting the form, they are always flagged with “Please fill in the required field”. It’s part of a larger form, but these are unique text fields that are not repeated anywhere else – see below. The two fields that keep getting flagged as required are the State and Zip text areas.

    Running the latest and greatest (WP 4.2.2) (CF7 4.1.2)

    Thoughts?

    [text financial-institution placeholder "Name of Financial Institution"]<br/>
    [text fbo-account placeholder "FBO (Account Number)"]<br/>
    [text fbo-street-address placeholder "Street Address"]<br/>
    [text fbo-city 8/ placeholder "City"] State:[select state include_blank "Alabama" "Alaska" "Arizona" "Arkansas" "California" "Colorado" "Connecticut" "Delaware" "Florida" "Georgia" "Hawaii" "Idaho" "Illinois" "Indiana" "Iowa" "Kansas" "Kentucky" "Louisiana" "Maine" "Maryland" "Massachusetts" "Michigan" "Minnesota" "Mississippi" "Missouri" "Montana" "Nebraska" "Nevada" "New Hampshire" "New Jersey" "New Mexico" "New York" "North Carolina" "North Dakota" "Ohio" "Oklahoma" "Oregon" "Pennsylvania" "Rhode Island" "South Carolina" "South Dakota" "Tennessee" "Texas" "Utah" "Vermont" "Virginia" "Washington" "West Virginia" "Wisconsin" "Wyoming"] [text zip 10/ id:name-fields placeholder "Zip Code"]</p>

    https://www.ads-software.com/plugins/contact-form-7/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Where can I see this form?

    Thread Starter sparkfactor

    (@sparkfactor)

    View the form here: https://goo.gl/496hUx

    Section 8 – Payment Information

    City and Zip keep getting flagged as “Please fill in the required field”

    Same issue here : https://www.clickrecruitenrol.com/en/conferences/digital-tool-box/book-here/, the Role form fails validation even though it’s required and you type something in it.

    Been trying to debug this for about 2 hours now, there’s nowhere I can see which gives the reason for a validation error. Is there a verbose mode of the plugin?

    Thanks

    I found my issue, I was using fields for 4 different delegates on the booking form. Delegate 4’s Role field was set to del1-role, not del4-role, so it was overriding the validation as empty.

    Thread Starter sparkfactor

    (@sparkfactor)

    Thanks, macambulance, but we are experiencing different issues entirely.

    Takayuki, looking forward to your insights. Happy to provide more of the shortcode/access if necessary, but the OP has a sample of the problematic area.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    I got this error message when accessing https://goo.gl/496hUx

    This site has been GEO blocked by PRCUA Information Technologies.

    Block reason: Gateway GEO-IP Filter Alert

    ??

    Thread Starter sparkfactor

    (@sparkfactor)

    Ok, sorry about that. Tight security on client’s staging site…

    Here is the exact form duplicated on a sandbox environment with additional NO plugins or add-ons, save for the wonderful CF7. https://sparkproofs.com/wp-sandbox/form-test/

    Tested and still getting same error here, too : /

    Also, here is a copy of the entire backend for the form: https://pastebin.com/TiVsRrV2

    Please let me know what you find, or if you need any more information. Thanks!

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    The State and Zip text areas are definitely required fields.

    [text* city 7/ placeholder “City”] State:[select* state include_blank “Alabama” “Alaska” “Arizona” “Arkansas”
    “California” “Colorado” “Connecticut” “Delaware” “Florida” “Georgia” “Hawaii”
    “Idaho” “Illinois” “Indiana” “Iowa” “Kansas” “Kentucky” “Louisiana” “Maine”
    “Maryland” “Massachusetts” “Michigan” “Minnesota” “Mississippi” “Missouri”
    “Montana” “Nebraska” “Nevada” “New Hampshire” “New Jersey” “New Mexico” “New
    York” “North Carolina” “North Dakota” “Ohio” “Oklahoma” “Oregon” “Pennsylvania”
    “Rhode Island” “South Carolina” “South Dakota” “Tennessee” “Texas” “Utah”
    “Vermont” “Virginia” “Washington” “West Virginia” “Wisconsin” “Wyoming”] [text* zip 10/ id:name-fields placeholder “Zip Code”]

    https://pastebin.com/TiVsRrV2

    Thread Starter sparkfactor

    (@sparkfactor)

    Takayuki, I’m not having issues with that section. Those fields you just pasted are supposed to be required. I’m having issues with Section 8 labeled “Payment Information”

    Here is the snippet I shared in the first post of the exact location. These fields are NOT set to required, but for some reason the form is requiring them to be filled in…

    [text fbo-account placeholder "FBO (Account Number)"]<br/>
    [text fbo-street-address placeholder "Street Address"]<br/>
    [text fbo-city 7/ placeholder "City"] State:[select fbo-state include_blank "Alabama" "Alaska" "Arizona" "Arkansas" "California" "Colorado" "Connecticut" "Delaware" "Florida" "Georgia" "Hawaii" "Idaho" "Illinois" "Indiana" "Iowa" "Kansas" "Kentucky" "Louisiana" "Maine" "Maryland" "Massachusetts" "Michigan" "Minnesota" "Mississippi" "Missouri" "Montana" "Nebraska" "Nevada" "New Hampshire" "New Jersey" "New Mexico" "New York" "North Carolina" "North Dakota" "Ohio" "Oklahoma" "Oregon" "Pennsylvania" "Rhode Island" "South Carolina" "South Dakota" "Tennessee" "Texas" "Utah" "Vermont" "Virginia" "Washington" "West Virginia" "Wisconsin" "Wyoming"] [text zip 10/ id:name-fields placeholder "Zip Code"]
    Plugin Author Takayuki Miyoshi

    (@takayukister)

    It’s because you have multiple fields with the same name “zip”. Give each field a unique name.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Text field requiring information, NOT set to require data’ is closed to new replies.