Add Detailed Form Validation Rules Beyond SP Required Fields

Not applicable

I created a canvas app, added a form, and referenced a SharePoint list as the data source. As a result, my form instantly has validation rules for those required fields as defined in my SharePoint list. However, I have six form fields that require additional validation rules like valid e-mail addresses, numeric only, and two dates that have special requirements.

My existing form by default has a label for rendering errors, right now limited to detecting empty required fields. I'd like to add form validation rules that render the error messages in the same locations (i.e., below the form field) as my existing error labels for the data cards.

I have a working form that successfully submits data to my SharePoint list and renders error messages when a required field is not met so adding additional validation rules to six fields is my last step.  What is the best approach to this situation?

0 Replies