Add Detailed Form Validation Rules Beyond SP Required Fields

%3CLINGO-SUB%20id%3D%22lingo-sub-1502141%22%20slang%3D%22en-US%22%3EAdd%20Detailed%20Form%20Validation%20Rules%20Beyond%20SP%20Required%20Fields%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1502141%22%20slang%3D%22en-US%22%3E%3CP%3EI%20created%20a%20canvas%20app%2C%20added%20a%20form%2C%20and%20referenced%20a%20SharePoint%20list%20as%20the%20data%20source.%20As%20a%20result%2C%20my%20form%20instantly%20has%20validation%20rules%20for%20those%20required%20fields%20as%20defined%20in%20my%20SharePoint%20list.%20However%2C%20I%20have%20six%20form%20fields%20that%20require%20additional%20validation%20rules%20like%20valid%20e-mail%20addresses%2C%20numeric%20only%2C%20and%20two%20dates%20that%20have%20special%20requirements.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EMy%20existing%20form%20by%20default%20has%20a%20label%20for%20rendering%20errors%2C%20right%20now%20limited%20to%20detecting%20empty%20required%20fields.%20I'd%20like%20to%20add%20form%20validation%20rules%20that%20render%20the%20error%20messages%20in%20the%20same%20locations%20(i.e.%2C%20below%20the%20form%20field)%20as%20my%20existing%20error%20labels%20for%20the%20data%20cards.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EI%20have%20a%20working%20form%20that%20successfully%20submits%20data%20to%20my%20SharePoint%20list%20and%20renders%20error%20messages%20when%20a%20required%20field%20is%20not%20met%20so%20adding%20additional%20validation%20rules%20to%20six%20fields%20is%20my%20last%20step.%26nbsp%3B%20What%20is%20the%20best%20approach%20to%20this%20situation%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1502141%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPowerApps%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Deleted
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