• Resolved pzh20

    (@pzh20)


    I have a situation where someone can add details of either themselves or someone else to the site. If their selection is “Myself” then I have a series of fields with labels Your Email, Your Name etc. If they select “Someone Else”, then the fields are Nominee’s Name, Nominee’s Email etc. However, which ever option they select, I have to set the particular fields as required.

    Is there a way round this?

    Regards
    Pete

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    sure, just go ahead and make all the fields required. If they happen to be hidden on form submission, these fields will not trigger any validation errors. Only the visible fields will trigger errors.

    Thread Starter pzh20

    (@pzh20)

    That’s what I hoped but the tutorial suggests otherwise.
    Thanks Jules, I’ll give it a try .

    Regards
    Pete

    Plugin Author Jules Colle

    (@jules-colle)

    which tutorial and which part of it are you referring to? If so, I will need to update the tutorial ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Conditional Required fields’ is closed to new replies.