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

    My form is defaulting to a price and I don't know why?

    Asked by emaday on December 05, 2016 at 05:13 PM

    Good Afternoon,

    I created the following gift purchase form:

    https://www.jotform.com//?formID=60895668664980

    Since we have multiple product options available for members to select, we included a Calculation field (which is hidden to the customer) on the form, the "Total Amount Due" is supposed to reflect whatever is listed in the Calculation field. Conditions have been setup so that if someone selects a team/site, the amount will populate into the calculation field, when then in turn fills the Total Amount Due field. 

    The problem we have is that when nothing is selected the total amount due is defaulting to $79.95 and we can't figure out how to remove it? I have combed through all of the conditions and can't identify what is triggering the field to auto fill $79.95 when nothing has been selected? The default amount in the Calculation settings is set at 1? Any help you can provide is much appreciated!

     

    Thank you,

    Shawn

     

     

    Page URL:
    https://www.jotform.com//?formID=60895668664980

    Screenshot
  • Profile Image
    JotForm Support

    Answered by Chriistian on December 05, 2016 at 10:12 PM

    I checked your form and I can confirm that the calculation field shows a default value of 79.95. It also seems that clicking on the "Choose a Team" field removes this value.

    There appears to be a lot of conditions on the form, which might be causing the issue with the calculation field. Can you please try clearing your form cache and your browser cache to refresh your form and see if the issue still persists?

    If the issue persists, please let us know.
    Thank you.

  • Profile Image

    Answered by emaday on December 06, 2016 at 11:50 AM

    Unfortunately those two options didn't resolve the issue, is it possibly because one of the conditions? I have scowered through them but don't see one that appears to be setup incorrectly? 

    Thank you for your help!

    Shawn

  • Profile Image
    JotForm Support

    Answered by Charlie on December 06, 2016 at 01:44 PM

    Hi Shawn,

    You have around 300+ conditions and it would be hard to troubleshoot it the way the values are being inserted. If I may suggest, I believe assigning calculation values on your drop down field would work better. Here's a guide that you can refer to: https://www.jotform.com/help/301-How-to-Assign-Calculation-Value. Instead of manually inserting values based on the selection on the drop down, it would be best to assign the values in the drop down properties instead. Then you can simply use one condition to populate the calculation field widget. Here's a sample form I made: https://form.jotform.com/63405064890961. You can clone it to have a copy of it in your account and for you to see how it was setup.

    With that, I only need one condition for each drop down field, no need to have one condition for each insert. Here's a quick view of it:

    One important factor that is only needed is you need to set the "Clear Hidden Field Values" to "Clear On Being Hidden". With that, whenever a field is hidden (like the drop down fields), it would clear its input. 

     

    I checked your conditions but I cannot find what is causing it, I presume it is somehow related to a faulty condition where the options where edited or a previous option was deleted causing to always insert the value 79.95 in the calculation. 

    I hope that helps.