Link to home
Start Free TrialLog in
Avatar of sumeetsuvi
sumeetsuviFlag for India

asked on

How to add custom field validator in sharepoint list fields

I want to add a compare validator for date comparison between to fields say "Start Date" and "End Date" in a sharepoint list. I have n no of list having different types of validators of their respective fields.Now as in sharepoint development I know to do this by shareponint designer in NewForm or EditForm, but problem is i m having more lists which may increase any time.
So doing for each list each field it is tedious....

Is their any approach to do this by using sharepoint object model.

For your better understanding I just want like this....hit this url's 'Tutorial Tab' --> http://www.sharepointboost.com/formvalidation.html

I need only what is approach to do this through object model for Date Compare Validator on one list....

Thanks in advance
Sumeet Suvi
Avatar of abhitrig
abhitrig
Flag of United States of America image

Comparing b/w fields should be built in 2010 list.
For more custom (or 2007) approach, try using a list template (maybe created with VS) to create your lists.
ASKER CERTIFIED SOLUTION
Avatar of sumeetsuvi
sumeetsuvi
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sumeetsuvi

ASKER

Out of scope now