Hiding field based on an object

sharansg

02-07-2019

Hi

I'm relatively new to Adobe Live Cycle Designer. I have been trying to hide a field based an object that exists in my XML but not visible in the form at all. I'm wondering how to do this.

Below is the example :

I will need to hide txtLine2, if ContentTypeCode = 2

Form :

1783741_pastedImage_0.png

XML :

1783872_pastedImage_2.png

Thank you in advance.

View Entire Topic

altrue990

03-07-2019

Wrap the text box in a subform and bind the subform to the ContentTypeCode. The SOM should look something like SecondPostalRegulationsCompliantAddressLine.[$.ContentTypeCode != "2"].