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

fransb77367122
Level 1
Level 1

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

1 Reply
mouslander
Level 7
Level 7

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"