Show hidden fields based on conditions

  • ben_ben552
    Asked on November 22, 2020 at 11:31 AM
    On my form if you select (as example) roof replacement, 2 multiple choice properties show up.

    I dont feel like measuring..

    and

    I will provide my measurements below


    if they choose i dont feel like measuring.. i want all the measuring questions to go away. But i have them all set up as "required" so i dont know if that is possible.


    How would I do this?


    At this point too if they choose I dont feel like measuring, i want payment request to come up for a certain amount so they can pay and submit...



    Could you help me with this?

  • Ariel JotForm Support
    Replied on November 22, 2020 at 1:10 PM

    Hi there,

    Thank you for contacting Support.

    Before we start on your conditions, remove this action on the following block...

    16060661962020 11 23 01 25 25 Screenshot 10

    to avoid potential conflict.

    If you need to show the Checkbox Field (id21) if "What are you looking for?" is equal to "Siding/Soffit/Fascia" OR "Roof replacement", you can set it up like so:

    16060666152020 11 23 01 36 27 Screenshot 21

    Just remember that if an action can appear or involves multiple conditions, you should combine the conditions into one block to avoid conflicts.

    Back to your question:

    [On my form if you select 1.1  (as example) Roof replacement1.2  2 multiple choice properties show up, 1.3  "I don't feel like measuring..." and "I will provide my measurements below". 1.4]

    16060648542020 11 23 01 06 09 Screenshot 32

    Disable or delete the following block...

    16060645192020 11 23 00 59 40 Screenshot 43

    to avoid conflict on your next condition:

    [If they choose "I don't feel like measuring…", I want all the measuring questions to go away.]

    I believe we can rephrase this to, if they choose 2.1  "I will provide my measurements below", 2.2  show 2.3  the measuring questions. 2.4

    16060652942020 11 23 01 03 40 Screenshot 54

    Step 4 only shows one measurement field as an example, but you can add more.

    I saw a lot of measurement fields in your Siding/Soffit/Fascia conditional statement...

    16060679072020 11 23 01 55 01 Screenshot 65

    so make sure to review that for any conflicts.

    [But I have them all set up as "required" so I don't know if that is possible.]
    Empty required fields that are hidden via the Conditional Logic will not throw an error nor prompt, so you don't have to worry about it.

    Let us know if you have any questions or if you need further assistance.

    Related Guides:

    I have moved your other concern regarding the payment to a new support ticket so that we can address it separately. Kindly check our response here: https://www.jotform.com/answers/2718627.