Hide a field on a 'View' object page if it has a zer

Posted by Rollbase User on 10-Aug-2010 05:37

On an objects 'View' page, how would you use rbf_showOrHideField in the onpageload to hide a field if it's value was zero. On the edit page, you can reference the fields value, but on the view page, this doesn't seem possible?

All Replies

Posted by Admin on 10-Aug-2010 05:41

Have you guys thought about having and attribute linked to each field called 'Visibility Formula', which only shows the field if the formula returns null (or something). The logic would be performed server side rather than clients side?

Posted by Admin on 10-Aug-2010 11:48

We can do something like this in the future, but in the mean time we don't have lots of requests for this. You can use rbf_showOrHideField in combination with rbf_getFieldValue API - please check Chapter 7 for more details.

Posted by Admin on 13-Aug-2010 19:12

see above

This thread is closed