- 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-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:22 AM
Hi balaji,
Are you mentioning about catalog UI policies? .

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-28-2016 03:25 AM
I think using Catalog UI policy would be a good option. For above problem statement please check if their is a conflict between client side scripts, this issue normally arises due to that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-28-2016 03:28 AM
Snowuser11,
I think the behavior is seen quite often, it also depends on the browser, if you open the developper tools, you'll see that its throuws an errow.
This is my advice : For this kind og query, I've gone with a global UI policy.