- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2017 11:46 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2017 12:25 PM
Hello Chanikya,
Create a Client script on RITM table with script as
if(g_form.getValue('state') == "PASS CHOICE VALUE OF IN PROGRESS)
{
g_form.setMandatory('PASS ADDRESS FIELD NAME HERE',true);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2017 12:25 PM
you need a catalog client script that runs on change of your state variable. if the state variable is the value of interest, set the address variable to read mandatory.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2017 12:25 PM
Hello Chanikya,
Create a Client script on RITM table with script as
if(g_form.getValue('state') == "PASS CHOICE VALUE OF IN PROGRESS)
{
g_form.setMandatory('PASS ADDRESS FIELD NAME HERE',true);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-28-2017 02:37 AM
Hi Pradeep,
your script is working fine in RITM level,
I have applied same script in LEGAL REQUEST table, but it is not working in legal table.
SCRIPT
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
if (isLoading || newValue === '') {
return;
}
if(g_form.getValue('state').toString() == '18')
{
g_form.setMandatory('address',true);
}
else{
g_form.setMandatory('address',false);
}
}
OR
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
if (isLoading || newValue === '') {
return;
}
if(g_form.getValue('state') == 18)
{
g_form.setMandatory('address',true);
}
else{
g_form.setMandatory('address',false);
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2017 01:05 PM