If caller's email id (use custom field) description is empty, then while submitting form will displa
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2025 03:17 AM
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2025 03:59 AM
Hello @udaychaudhary
You can create an onSubmit client script to meet your requirement.
configuration:
Please refer to the script below:
function onSubmit() {
var desc = g_form.getValue("description"); //modify the backend field name
if(desc === ""){
g_form.addErrorMessage("Description field is empty"); // modify the message to display
return false;
}
}
This script can be reused for any field by simply updating the field name (description) and the error message as required.
Hope this helps!
"If you found my answer helpful, please like and mark it as an "accepted solution". It helps future readers to locate the solution easily and supports the community!"
Thank You
Juhi Poddar