Form load message

CV1
Tera Contributor

Hi All,

 

I need to display a warning message when case form is loaded and for a specific view.

  1. if location field is empty - (The form cannot be submitted as location is empty)
  2. 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

1 REPLY 1

Bhavya11
Kilo Patron

hi @CV1 ,

 

Please follow this

  1. 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 

    Bhavya11_2-1725526023943.png

    create ui policy action location and Mandatory true

  2. 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