Hiding field based on an object

Avatar

Avatar
Level 1
sharansg
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
sharansg
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile
sharansg
Level 1

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar
Level 1
sharansg
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
sharansg
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile
sharansg
Level 1

12-07-2019

Great it works. Thanks.

Avatar

Avatar
Boost 10
Level 3
altrue990
Level 3

Likes

10 likes

Total Posts

73 posts

Correct reply

14 solutions
Top badges earned
Boost 10
Give Back
Validate 1
Boost 5
Boost 3
View profile

Avatar
Boost 10
Level 3
altrue990
Level 3

Likes

10 likes

Total Posts

73 posts

Correct reply

14 solutions
Top badges earned
Boost 10
Give Back
Validate 1
Boost 5
Boost 3
View profile
altrue990
Level 3

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"].