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
Santoshi K VSantoshi K V 

alphabet entry should be disabled

Hi All
I have a field 'amtvalue' -apart from numerics-5 alphabets are also working(embkt), though its showing error "enter a valid value", i want the alphabet entry to be disabled
SwethaSwetha (Salesforce Developers) 

Hi Santoshi,
You can use regex in formula to achieve this.
The below forumula allows only numbers and not alphabets


If this information helps, please mark the answer as best. Thank you
Santoshi K VSantoshi K V
Hi Swetha,
Its a currency field. When i'm entering k , if 1 is enetred , it is taking as 1k i.e, 1000 , similarly m, its taking as 1 million....but i dont want the entry of those text e,m,t,k into that currency field