How to check a single row like list column text type in sharepoint 2010 to enter only a number?
Please do not tell me to use the calculated column, I tried it and it did not work for me as I want.
I ask for advice, thanks in advance.
This should work:
=ISNUMBER([MyColumn]+0)
I looked at the available functions and I don't see what will check if the text value is a number.
By the way, is there a reason why you are not using the Number field instead of a single line of text?
, , ( @Rob_Windsor; ):
=AND( ISNUMBER(Number+0), ISERR(FIND(".",Number)), ISERR(FIND(",",Number)), ISERR(FIND("$",Number)), ISERR(FIND("+",Number)), ISERR(FIND("-",Number)), ISERR(FIND(" ",Number)) )