sn-record-picker if it show no match found how to set alert message

Bhavani3
Tera Contributor
 

Bhavani3_3-1703773672287.png

if it shown as No matches found how to set the alert message to show users as no match found

 
 

 

 

1 REPLY 1

AshishKM
Kilo Patron
Kilo Patron

Hi @Bhavani3

If this field is dependent on some other field then you can apply "g_form.showFieldMsg()" for this field.

Write onChange client script on and set the "g_form.showFieldMsg()" or alert().

And if this field is not dependent then write onLoad client script and set the "g_form.showFieldMsg()" or alrt().

 

-Thanks,

AshishKMishra


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution