UI Page How to make mandatory text area field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2023 12:16 PM - edited 04-05-2023 11:22 PM
Hi @ANKUR BAWISKAR
How to make mandatory text area field in UI page?
Let me know how to client script in ui page
I wanna use this UI pages on change request table , Some one changes Planned start& end date to past date they mentioned additional information makes mandatory , Below screenshot when i on click uiaction button on change request table
whatever reflects UI page output should reflect on my Change request table
Please help me on this @Ankur Bawiskar
Regards ,
Suresh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2023 10:12 PM
then use onsubmit validation using client script
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2023 10:25 PM - edited 04-05-2023 11:24 PM
It's working fine on UI pages when i click on try it option it works good but come to change request table it's doesn't work
I mean additional information field doesn't validate on table level ui pages doesn't work properly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2023 10:32 PM
I believe it should work the same way when UI page is called from table record using UI action
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2023 10:38 PM - edited 04-05-2023 11:25 PM
table level dialog it doesn't show any mandatory for additional information or while submit empty additional information it's submitted without validation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2023 10:54 PM
Client script within UI page will behave the same when it's called from UI action or directly
Did you debug by adding alert?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader