- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 01:00 AM - edited 11-13-2023 01:01 AM
Hi all,
When i select the Environment , values which will get added to roles from system properties.
When user clicking on submit , i need to validate the --None-- should not be selected
System property
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 01:16 AM
Hi @Saib1 ,
function onSubmit() {
var requesterValue = g_form.getValue('requester');//change requestor varible backend name
if (requesterValue === '--None--') {//change exact value with --None--
alert('Please select a valid requester before submitting the form.');
return false;
}
return true;
}
You can write onSubmit catalog client script .
Please mark it as helpful and solution proposed if it serves your purpose.
Thanks,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 01:16 AM
Hi @Saib1 ,
function onSubmit() {
var requesterValue = g_form.getValue('requester');//change requestor varible backend name
if (requesterValue === '--None--') {//change exact value with --None--
alert('Please select a valid requester before submitting the form.');
return false;
}
return true;
}
You can write onSubmit catalog client script .
Please mark it as helpful and solution proposed if it serves your purpose.
Thanks,
Anand