Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2013 12:29 PM
Absolutely,
An onload client script can accomplish the same thing. The script would be a whole set of conditions and setvisible's. One client script is probably more manageable than a pile of UI policies, though UI policies typically load faster.
It would look something like
function onLoad() {
if (g_form.getValue('field1') == '')
{
g_form.setDisplay('field1', false);
}
else if (g_form.getValue('field2') == '')
{
g_form.setDisplay('field2', false);
}
}
If this answers your question, please mark this topic as ANSWERED. Thanks!