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

  • Profile Image
    MEM2017
    Asked 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

  • Profile Image
    david
    Answered 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.