UI Builder Form Component Validation Messages

Velma
Tera Guru

How can I get the validation messages (e.g., required field not filled in) to show? Also, can I access an event to allow me to show a Save succeeded or Save failed message? I don't see what event to use on the form component or the glide form data resource. (A pointer to a really good video or tutorial on the form component details would be most welcome.)

6 REPLIES 6

I see. I've also faced this problem where gs.addErrorMessage and gs.addInfoMessages do not show up on workspace. It happens only with configurable workspace.

@Brad Tilton : We'd appreciate your inputs on this one. I am not sure but I think this is a known issue.

 

Jagjeet Singh
ServiceNow Community Rising Star 2022/2023

I just did a quick test and I'm able to use an onSubmit client script in a workspace on a San Diego instance to do validation and add an infoMessage using g_form.addInfoMessage.

@Velma - could you share more details around your issue and possibly see if you're able to make it happen in a San Diego instance?