Expand my Community achievements bar.

SOLVED

Adobe Life Cycle Designer - how to hide buttons added at runtime

Avatar

Level 1

Hi

 

I have a form with a button to add a repeating part. This repeating part itself has buttons (for example to remove it, or to move up oder down). So some buttons are added at runtime.

I want to hide the buttons before submitting the form by email. I manage to hide the buttons I added manually with

 

Formular1.Zielpersonen.Tabelle.Auswahl.Standard.TF_Navigation.Btn_Add.presence = "hidden";

 

but how can I loop through the buttons added at runtime ? I thought about something like:

 

for each (btn in Formular1.Zielpersonen.Tabelle.Auswahl.Standard.TF_Navigation) {btn.presence = "hidden";}

 

Indeed it wouldn't even bother me to hide all Buttons in the whole form.

 

Where do I have to put the code to have it run before I submit (I assume in one of the presubmit parts, but which one)?

 

Thanx

1 Accepted Solution
1 Reply

Avatar

Correct answer by
Employee