Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Assistance with javascript

Avatar

Avatar
Level 1
fransb77367122
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
fransb77367122
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
fransb77367122
Level 1

05-03-2015

736118_pastedImage_0.png

Using java script in Adobe Livecycle Designer ES how can I refer to a specific field (Picture) in a subform which has been repeated a few time to allow me to make that specific occurrence of that field visible or invisble when required when a user clicks on a button for that purpose. .

Any suggestions on how to do this

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 4
mouslander
Level 4

Likes

23 likes

Total Posts

298 posts

Correct Reply

27 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 4
mouslander
Level 4

Likes

23 likes

Total Posts

298 posts

Correct Reply

27 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
mouslander
Level 4

06-03-2015

On the click event of the button you would put:

Picture.presence = "hidden"

that should be all you need. If the picture is wrapped in a subform and you want to hide the subform they you would change the reference from Picture or whatever your field is. Based on your hierarchy it looks like it would be:

Details.presence = "hidden"