Skip to Content
0
Jul 20, 2016 at 11:53 AM

Hiding field in master page

1798 Views

Hello Team,

In a master page i am having a sub form with 5 lines(5 fields) to display the customer address.

My requirement is to hide 2nd and 3rd lines if there is no data and the 4th line needs to occupy 2nd line space without gap .

1. Sub form is in flowed layout

2. I have written form calci code in form ready, Client side

3. Also tried writing form calci code Layout ready, Client side


Code:

if ( not HasValue($)) then

$.presence = "hidden"

endif


But i couldn't achieve the requirement.

Please let me know how i can solve this issue?

Thanks in advance.

Regards,

Dorababu