I am creating a form where there is a field to enter a discount. I want to make sure that number is always negative.
I tried using the display pattern $-z,zz9.99 and then set the validation pattern to the same thing but it isn't working. I also tried using the () version too.
I need it to work in both of these scenarios:
1. person enters -15 and it shows as -$15.00 or $-15.00
2. person enters 15 and it shows as -$15.00 or $-15.00
Using the display pattern above gives me this:
1. -$-15.00
2. $-15.00 but doesn't recognize it as a negative number in calculations.
Any help would be great!