• Resolved jmpineiro

    (@jmpineiro)


    We have a Form that we recently include this plugin and create some groups with conditional fields but we are having some trouble because the fields inside the groups are not marked as required an even so when the plugin check before send shows an error telling that need to be fill.

    The main conditional field is “Estoy interesado en:”… if you select “Servicios….” and then not select any of that fields and complete the rest of the fields (that are not included into the conditional tags) whis will show you an error telling that this conditional fields need to be completed…

    The page I need help with: [log in to see the link]

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

    (@jules-colle)

    I don’t see “Servicios..” anywhere. Can you show where it is in a screenshot?

    Thread Starter jmpineiro

    (@jmpineiro)

    Jules,

    I will update the url and add a screenshot. We have to change the form to one without Conditional Fields because the client has a Google Campaing and that was causing problems.

    This is the new url where the form was place to make the tests..
    https://lagrecahome.com.ar/contacto-campos-condicionales/

    I also copy the full code of the Contact Form 7 with the Conditional tags in the follow TXT file: https://we.tl/t-nrKUA2pM1Y (I upload to WeTransfer)

    Let me know if you found something that we make wrong in the conditional tags.

    Here is the screenshot: https://paste.pics/24ea3f5a663ba3692f6d16cf8571639e

    Regards,

    Thread Starter jmpineiro

    (@jmpineiro)

    @jules-colle could you take a look of this? Do you know what could be the problem and how to fix it?

    Plugin Author Jules Colle

    (@jules-colle)

    I checked and it’s working as expected here.

    -When I don’t select Servicios, I can submit the form just fine.
    -If I select servicios and fill out all fields except the ones in the group that just showed up, i get validation error.
    -If I fill out the field under servicios I can submit the form just fine.

    These 3 behaviors are expected and desirable in my opinion. I don’t see what the problem is. Could you record a video and go trough the steps and explain to me at what point you think something is not working as it should?

    Thread Starter jmpineiro

    (@jmpineiro)

    @jules-colle

    Sorry, but i think that one of the behaviors is not expected. For instance If you select “Servicios” but then dont select or complete any of the fields that “Servicios ‘s Group” have you will see a validation error in each field, but those fields are not mark as required, you can or can not complete them.
    Aparently for some reason the fields inside Servicios Group are been mark as required but if you see the txt attached before with the complete contact form shortcodes they are not mark as required, like i said, for some reason the plugin are forcing users that select “Servicios” to complete all fields in that group when they are not required.

    That is the not expected behavior…

    Regards,

    Plugin Author Jules Colle

    (@jules-colle)

    OOOH now I see. This has nothing to do with the Conditional fields actually. Radiobuttons are required by design. ??

    “radio represents a group of radio buttons (<input type=”radio”> in HTML). Note that there is no required version of radio (“radio*”). The reason Contact Form 7 doesn’t provide “radio*” is because a radio button is a required field by nature. The HTML spec document explains it more in detail.” – Quote from https://contactform7.com/checkboxes-radio-buttons-and-menus/

    Plugin Author Jules Colle

    (@jules-colle)

    You should use exclusive checkboxes instead ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Conditional fields not requiered show error as requiered’ is closed to new replies.