Display Decimal as Currency in User Input Field

Are there any functions/options to allow the user to enter an floating point field and display it as currency on the user input field?

OriginalPostID-179685

OriginalPostID-179685

  Discussion posts and replies are publicly visible

Parents
  • The way I have always done this is to have the input as a text field, and then wrap the display in the dollar() function.

    You can then run validations on the input to ensure they only enter a valid number. Alternatively, you can use the stripwith() function on the saveInto to remove all non-valid characters from the input, and then cast that result using todecimal().
Reply
  • The way I have always done this is to have the input as a text field, and then wrap the display in the dollar() function.

    You can then run validations on the input to ensure they only enter a valid number. Alternatively, you can use the stripwith() function on the saveInto to remove all non-valid characters from the input, and then cast that result using todecimal().
Children
No Data