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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

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

Carcharoth
Level 1
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
Kosta_Prokopiu1
Correct answer by
Employee
Employee