- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2016 07:50 AM
Hi,
setDisplay is not working in onload catalog client script and instead of meeting all conditions it displays the variable Set.Can some one please help. I used setVisible instead but the container still shows long though blank looks weird. if the variable set is hidden then container also should not be seen so long. We recently are in helsinki
Thanks
_____________________________________________
function onLoad() {
g_form.setMandatory('first_name', false);
g_form.setMandatory('last_name', false);
g_form.setDisplay('variable Set name', false);
}
______________________________________________
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2016 07:58 AM
I think instead of try with onLoad,
try with configure dictionary of filed(always mandatory) or UI policy(which will run on onLoad)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-28-2016 03:31 AM
Hi,
Please use single inverted commas while declaring 'false' or 'true'. Like this below :
function onLoad() {
g_form.setMandatory('first_name', 'false');
g_form.setMandatory('last_name', 'false');
g_form.setDisplay('variable Set name', 'false');
}
Please let me know if this worked.
Thanks,
Arnab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-30-2016 12:00 AM
I already have single inverted commas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-30-2016 12:01 AM
Hi i have used UI policies and now w it seems to be okay....Thanks all for all your instant help.