I have a custom form on a SharePoint page that is intended to add and update list items. I want to validate values before updating. I found both the SP.ListItem.validateUpdateListItem and the SP.Field.validateSetValue functions, but they validate and update simultaneously. If I'm calling
SP.ListItem.validateUpdateListItem on a set of SP.ListItemFormUpdateValues, even if any fail validation, the field values that passed validation have updated on the list item.
Is there any way to just validate without updating?