• Resolved ironlion37

    (@ironlion37)


    Hi,

    This plugin appears to be excellent. I do have an issue where the required fields are not validating properly.

    Please go to JamesCenterParking.com and click “No” for the first question. In the fields that then appear, there are many required ones. However, the only one that validates is the last one (“Please describe parking needs”).

    Version 1.1 installed.

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ironlion37

    (@ironlion37)

    Ah never mind. I figured out the issue was coming from not using unique identifiers for repetitive fields in various parts of the form.

    Thanks again for a great plugin!

    Plugin Author Jules Colle

    (@jules-colle)

    You’re welcome 🙂 Feel free to write a small review if you’re happy with it 😉

    Thread Starter ironlion37

    (@ironlion37)

    Hi Jules,

    I figured out my original issue, but it has led to a different one that is specific to this plugin.

    In the form I’ve built, there are four possible outcomes, each which collects name, phone, email (let’s say for simplicity). So, no matter which conditional route the user follows through the form, I am going to collect their name, phone, and email.

    The issue I’m facing is that I need to use the same values for those fields – regardless of where they are in the form. This is so that, regardless of where the info is entered into the form, I only have one output for name, phone, email. The problem is, if I don’t use unique identifiers in contact form 7, it breaks the validation. Is there any way around this?

    Plugin Author Jules Colle

    (@jules-colle)

    not really.. you can have the same group shown based on a number of conditions. if you really need to use multiple groups appearing in different locations on the form, containing the same data, there is no way to achieve this for the moment. however, since this is causing problems for so many users and it is in a way counter intuitive, i’ll see if it would be somehow feasible to remove the hidden fields on form submit. the main problem here is that some users might still need to collect information that is present in hidden fields. so I would need to go check if there might be conflicts (pre-submit) and actually remove the hidden conflicting fields with javascript. (because submitting a form with multiple fields that have the same name will obly submit the first of each.) could be possible i guess. but will need a bit of work and testinf so don’t expect an update real soon.

    do you have a link to your form? + can you clarify why you can’t have the same values within 4 differntly named fields?

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

The topic ‘Field Validation (Required Fields) not working’ is closed to new replies.