I am trying to add a validation in Salesforce survey response. User should be able to enter numbers up to 2 decimal places.
Allowed inputs, 12 12.3 12.34
I am trying with ^\d+(.\d{1,2})?$ but I am getting error "The validation formulas specified in the following questions are invalid: Page 6 Question 1. Correct the formulas and try again."
I have tried same using validation rule and it gives syntax error there too.