
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2016 04:33 PM
I'm looking to show/hide form content based on changes on a form (including show/hide of related lists) and would like to use setDisplay (because it reclaims white space on a form), but only setVisible seems to work (which leaves white space), setDisplay fails.
g_form.setVisible('short_description', false); //works
g_form.setDisplay('short_description', false); //doesn't work
Any ideas?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2016 11:24 PM
Thanks for all the suggestions.... I've gone with a global UI policy. I had hoped to be able to do this from within an application scope, but it simply wasn't possible.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2016 05:00 PM
Is this the same behavior in all browsers?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2016 05:40 PM
Good question. It's the same in Chrome and IE (Edge version 25.10xxx)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2016 05:43 PM
Open the browser developer tools, now trigger that script and see if you can find any errors on the browser console.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2016 06:02 PM
ah, yes... I'm getting... "Display false not set on field test_description: cross-scope access denied."