Click here to Skip to main content
14,975,219 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All,

I created a sharepoint list with name student having 3 columns stuno of integer type, sname of single line text type and total marks of interger type.. The problem the sname field is accepting numberics and specials characters also.. How to restrict the shaerpoint column

1) to accept only alphabets

2) to accept alpha-numeric

3) to accept specifice special characters and alphabets

Thanks in Advance
Updated 3-Apr-13 18:53pm

1 solution

For number you can set the column type as Number. For custom validations you can create your own Types. Refer to this[^] for creating custom field type.
tarun00197 4-Apr-13 0:57am
@code in play Thanks for ur reply.I followed the link that u posted. But i need to do in sharepoint list. Is there any possibity through formulas etc.....
pankajupadhyay29 4-Apr-13 7:56am
once you deploy this custom field type on your sharepoint server you can use that in your sharpoint list.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900