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

    Conditional Logic: Using custom HTML code on fields does not seem to be recognized by conditions.

    Asked by jenniferpham on May 08, 2016 at 02:42 AM

    1.  Stroller price not producing correct price.

    If you click Stroller Type: SINGLE Stroller, it is supposed to give the "Stroller Price" field the Single Stroller Price Table. However, it is showing price from Double Stroller.

    If you click the dates so it shows just 1 day (May 7, 2016 1am to May 7, 2016 1am), and then click you want to rent Stroller and stroller type Single Stroller, the price should be $20 (single stroller price) instead of $25 (double stroller price).  I've checked and rechecked conditions over again but cannot figure it out.

     

     

     

     

    2.  I tried to make promo codes show a discount using conditions. 

    If promo code is "rental10percent", it will calculate 10% off the price so far and insert that number into "Discount" field.  I got "rental10percent" to work, but my other promo codes (military5, senior5, rental50percentoff), which I made exactly the same way do not insert a number into the Discount field for some reason.  I've checked and rechecked conditions over again.

     

     

     

    3. Discount field does not show dollar sign and 2 places after the decimal even though I put that on the calculation options.

     

    Page URL:
    https://form.jotform.com/60837950160153

    Screenshot
    JotForm uploads table png
  • Profile Image
    JotForm Support

    Answered by Kevin_G on May 08, 2016 at 04:33 AM

    1.  Stroller price not producing correct price.

    I checked your form and noticed that this is happening only when you are using the HTML code to show the image, if this HTML code is removed then the condition will work as intended. 

    I think this is because the value is different, for example, when the value is taken to evaluate the condition it has the HTML code that you have added as plain text, but when it is on your form it is shown as HTML code, showing he image instead of the plain HTML text. 

    I will report this issue to our second level, one of our developers will take a look into this and you will be notified when this is resolved. 

    Regarding to your other questions, they have been moved to these threads respectively: 

    https://www.jotform.com/answers/834760 

    https://www.jotform.com/answers/834761

    We will assist you there as soon as possible. 

     

  • Profile Image

    Answered by jenniferpham on May 10, 2016 at 04:25 AM

    Thank you! I appreciate that!

  • Profile Image

    Answered by jenniferpham on May 10, 2016 at 04:34 PM

    I removed the html code but it still doesn't work.  When I click Stroller Type: Single-Stroller, it still doesn't show $20 on Stroller Price.  I even tried duplicating the working dropdown menu (Double Stroller Price Table) and renaming it to Triple Stroller Price Table, and duplicated the conditions that work with the double stroller except changing fields to Tripe Stroller Price Table, but that still doesn't reflect in Stroller Price Table.  I just don't know what to do!

  • Profile Image
    JotForm Support

    Answered by Kevin_G on May 10, 2016 at 05:44 PM

    I have checked your form and noticed that you are inserting the dollar sign in calculations ($) this is why the total was not being inserted into the total calculated amount, I have removed it and started to work, but I have also set this sign to be added as text, try doing the same, open the condition as if you were editing it and click on the dollar sign to make it text, it should look like the image below:

     

    Other option would be, removing and adding the sign again, if this does not work you will need to remove it from the calculation since this seems to be causing the issue, here is also a form where I removed and added the sign and it worked: https://form.jotform.com/61306635496965 

     

  • Profile Image

    Answered by jenniferpham on May 10, 2016 at 07:21 PM

    Worked perfectly. Thanks! Your support is the best!

  • Profile Image
    JotForm Support

    Answered by Kevin_G on May 10, 2016 at 09:04 PM

    Your welcome, glad to know it worked as you needed.

    We will provide you with news as soon as we get some regarding to use HTML code in the options of radio buttons or other fields, and if you need more help do not hesitate to contact us as well, we will be glad to help you.