function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
guna malliguna malli 

I have one text field that allows all characters,but my req is only allow numbers only and i don't want any decimals also

i have one text field that allows all characters ,but my req is that is allow numbers only.but iam also write a validation,that allow decima values.
I don't want any thing.
Iwant only numbers.
my valifdation rule:
NOT(ISNUMBER (allow_all__c))  && NOT(ISBLANK(allow_all__c))
PLZ HELP ME
 
Virendra ChouhanVirendra Chouhan
Hi Guna,

why dont you use number data type instead of text ?