Validation

SharePoint List Form Validation

Posted on Updated on

You Can Use “PreSaveAction()” Function to Execute any JavaScript Code in New or Edit Forms. When Pressing OK button this Function will be Executed First

You Can Use this Function For Validation without PostBack

PreSaveAction()
{
//
Add Your JavaScript Code Here Then Return True Or False

return false; // Cancel the item save process

return true; // OK to proceed with the save item
}

Advertisements