UI Builder Form Component Validation Messages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2022 03:05 PM
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.)
- Labels:
-
Now Experience UI Framework
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2022 09:12 PM
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.
ServiceNow Community Rising Star 2022/2023

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2022 08:38 AM
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.