What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Clear hidden fields after selection changes

    Asked by 416soclean on December 20, 2016 at 11:21 PM

    My form can be found here: https://www.jotform.com//?formID=63118467835261

    I have gone through a whole bunch of your support threads and have not found the answer.  Basically, lets take Duct Cleaning as an option.  If a customers selects it and then the appropriate fields are unhidden.  They then select the sq feet of their home and it calculates the total.  They also have an option for additional services.  

    Let's say they change their mind and decide they no longer want duct cleaning.  They uncheck the Duct Cleaning option at the top and I would like to have the Sq. Feet field, the Platinum package and Duct Cleaning total to reset and the real time quote field to reset to 0.

    I have tried the reset on hidden option under preferences, however, it does not do anything.  Can someone please assist? I have to have this form out for a client by the end of the week.

     

    Thanks

    Page URL:
    http://416soclean2.weebly.com/instant-quote.html

  • Profile Image
    JotForm Support

    Answered by Ian on December 21, 2016 at 02:36 AM

    From the Old conditions I tried removing Condition 2 and 3 as they were conflicting with condition 1

    Condition 1 checks if the check box is empty

    Condition 2 says if not equal to Duct Cleaning 

    Conflict is that  In Condition 1 when check box is Empty at the same time it is not equal to Duct cleaning as it is empty

    So its not able to decide which condition to follow

     

    New Condition should be

     

    Result of the above conditions is as follows :

    You can follow the same for other checkboxes.

    Hope this helps.

     

     

  • Profile Image

    Answered by 416soclean on December 21, 2016 at 09:54 PM

    Thanks - this helps partially.  I cannot clear the real time quote field as there maybe totals from the selections of of the other services so it can't go back to zero.  Is there CODE that can effectively change the state of the checked box.  So I'm thinking, if Duct Cleaning is de-selected, how do I change the state of Upgrade Platinum to unchecked?  I wish the option in the Preferences actually worked.

  • Profile Image
    JotForm Support

    Answered by candy on December 22, 2016 at 02:10 AM

    Hello,

    I have checked your website and your form that you have embedded in. Related to your questions:

    "I cannot clear the real time quote field as there maybe totals from the selections of the other services so it can't go back to zero."

    As I have checked your form, if a user selects 0 from all drop down options, the real-time quote already seems as zero as ou can see the screen below:

     "Is there CODE that can effectively change the state of the checked box? So I'm thinking if Duct Cleaning is de-selected, how do I change the state of Upgrade Platinum to unchecked? "

    You can do this with conditions. I have cloned your form on my side and I have set a condition in order to change the state of Upgrade Platinum to unchecked if Duct Cleaning is unselected as you can see the screenshot below:

    Please check the following screen to see this case:

    If you have more questions or further assistance, let us know.

    Thanks.