Assistance with javascript

Avatar

Avatar

fransb77367122

Avatar

fransb77367122

fransb77367122

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

mouslander

Avatar

mouslander

mouslander

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"