Conditional formatting for number field - either 2 or 4 decimal places
I have an Adobe form on which I would like the format of a field (“Recommended salary”) to be set to either 2 or 4 decimal places, depending on the value in another field (“FLSA Status”). If “FLSA Status = Exempt, I would like the format to be 2 decimal places and if “FLSA Status” = Non-exempt, I would like the format to be 4 decimal places.
Can anyone help me with the code for this? Also, what would I select as the format category for the “Recommended salary” field – Number? Ideally, the user would input something like this - $58,550.75 or $17.5214 depending on the FLSA Status.
