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

    How can I add a $ to my calculation and force 2 decimal places to be shown

    Asked by MEM2017 on April 03, 2017 at 12:25 PM

    Hello,

    at the bottom of the form we have a form calculation which totals the guest tickets and admin fee, however, it is not showing two decimal places.  how do I correct this?

    Can we also have dollar symbols added in front of all form caculations?

     

    In the Dynamic Textbox I need to limit the number of guests they can add to 16.  How do I do this?  

    Thanks again,

    Lori

    Page URL:
    https://www.jotform.com/build/70924626581259#preview

  • Profile Image
    JotForm Support

    Answered by david on April 03, 2017 at 02:20 PM

    To add a dollar sign to the beginning of the value in a calculation field, simply add the dollar sign before your equation:

    It will append the symbol to the beginning of the value.

    To show empty decimal places, you click "..." under the number pad to open more options:

    Under the "Options" tab, enable "Show empty decimal places" to show decimals even if the value is 0:

    You can also choose the number of decimal places to be shown.

    As for the dynamic text box widget, it is not currently possible to limit the number of text boxes added, however, you can use the number of textboxes added by the user in conditional statements.  This could be used to hide the submit button or show a text field with a warning message if the number of boxes added is greater than a certain amount.