I have seen the facility to hide empty fields from view in the Page View settings -> Hide Empty Fields, but is there a way of hiding a field if the value is zero?
I have tried adding code in the Javascript onload event, but if you have several if commands it noticeably slows down the page loading.
Is there another way?
I have tried adding code in the Javascript onload event, but if you have several if commands it noticeably slows down the page loading.
var ctrl_age_years = Runner.getControl(pageid, 'age_years'); if (ctrl_age_years.getValue()==0) pageObj.hideField("age_years");
Is there another way?