Copy link to clipboard
Copied
I have a percentage field where the decimal place needs to be moved. When you type in 20 the decimal place value shows 2000% (i.e. 20x100%). You have to type in .20 to get the field to show 20%. That doesn't flow well with this form, where the rest of the percentages are represented as numbers with 2 decimal places (20.00).
Does anyone have the code to fix this?
Then don't use a Percentage field, because that's how it works.
Use a regular text field with the following code as the custom Format script:
if (event.value) event.value += "%";
Copy link to clipboard
Copied
Then don't use a Percentage field, because that's how it works.
Use a regular text field with the following code as the custom Format script:
if (event.value) event.value += "%";