Form load message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2024 03:07 PM - edited 09-04-2024 03:55 PM
Hi All,
I need to display a warning message when case form is loaded and for a specific view.
- if location field is empty - (The form cannot be submitted as location is empty)
- if location selected its id is not present in a integration system - (the form cannot be submitted as location selected does not exist in AAA system)
Table structure
SN Case table -> contains location eg (Location1)
SN cmn_location table - > contains name=location1 ; ALocationid.
AAA application - Alocation table -> contains field Alocationid
Please guide me how this can be done.
TIA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2024 01:51 AM - edited 09-05-2024 01:52 AM
hi @CV1 ,
Please follow this
- if location field is empty - (The form cannot be submitted as location is empty) =>Create ui policy mark the if location is empty make it has mandatory
create ui policy action location and Mandatory true
- if location selected its id is not present in a integration system - (the form cannot be submitted as location selected does not exist in AAA system) => on-change client script on location field then call the Script include to check weather they have value or not if not then return message and clear the location field
Please mark helpful & correct answer if it's really worthy for you.
Thanks,
BK