sumeetsuvi
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Out of scope now
For more custom (or 2007) approach, try using a list template (maybe created with VS) to create your lists.