• Resolved Graicifyd

    (@graicifyd)


    1. Please how can I add a $ symbol to the number input field, so that when users type in a number the dollar sign shows before it?

    2. Is it possible to make all calculated field display nothing (blank) until there is an input, instead of the default 0?

    Thank you for your support.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @graicifyd

    Answering to your questions:

    Q: Please how can I add a $ symbol to the number input field, so that when users type in a number the dollar sign shows before it?

    A: In this case, you should use currency fields instead of number fields. There is a specific control for currencies.

    Q: Is it possible to make all calculated field display nothing (blank) until there is an input, instead of the default 0?

    A: You should use conditional statements as part of the equation. I’ll try to describe the process with a hypothetical example.

    Assuming the equation associated with the calculated field is: fieldname1+fieldname2 but you want to display the result of the mathematical operation only after the user enters the fields’ values. In this case, edit the equation as follows:

    
    IF(AND(fieldname1|r != '', fieldname2|r != ''), fieldname1+fieldname2, '')
    

    Best regards.

    Thread Starter Graicifyd

    (@graicifyd)

    Thank you. Resolved

    • This reply was modified 4 years, 2 months ago by Graicifyd.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add a dollar symbol to number field’ is closed to new replies.