You need to sign in to do that
Don't have an account?
gv
Validation rule for a float value
Hi,
I have a 2 text fields which accepts numbers. I need to validate to make sure it does not anything other than the following:
1. 0-9
2. +,-
3 .(period)
Basically validate for a float value. I checked in the help topics. could not find any function. How or which function should I ue
Thanks in Advance
Try this:
NOT(REGEX(Custom_Field__c ,"^[-+]?\\d+(\\.\\d+)?$"))
All Answers
Try this:
NOT(REGEX(Custom_Field__c ,"^[-+]?\\d+(\\.\\d+)?$"))