cancel
Showing results for 
Search instead for 
Did you mean: 

Hide Sections based on a parameter.

Highlighted
Line Chef
Line Chef

Hide Sections based on a parameter.

Hi

I have been trying to hide a section in a output document based on a field value.

I can hide/show it in code (style="display:none" or Style="display:block" but I have not found away to do it based on a field.

For example, if all the contacts are covered in a service contract do not bother listing all the contacts.

I have tried variations on

style=" {{$F.IF($D.Service_Maintenance_Contract.SVMXC__All_Contacts_Covered__cc,'display:none','display:block')}}"

style="{!F($D.Service_Maintenance_Contract.SVMXC__All_Contacts_Covered__cc,'display:none','display:block')}"

style="{{$F.IF($F.FORMAT('{0}',$D.Service_Maintenance_Contract.SVMXC__All_Contacts_Covered__cc)=='true','display:none','display:block')}}"

but no success. It just seems to ignore it and show the data.

Any assistance gratefully accepted.

Rgds

Richard.

Message 1 of 1
0 Likes
Reply

 

Post a Comment

This widget could not be displayed.
" />
This widget could not be displayed.
" />
This widget could not be displayed.
" />
This widget could not be displayed.
" />