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
Solved! Go to Solution.
Views
Replies
Total Likes
These are quite old but still valid for the most part:
https://blogs.adobe.com/formfeed/2008/11/loop_through_subform_instances.html
https://forms.stefcameron.com/2006/06/26/process-all-fields/
https://blogs.sap.com/2016/09/22/loop-through-all-controls-fields-in-adobe-forms/
and sth that comes close to what you want to do:
https://acrobatusers.com/forum/forms-livecycle-designer/disabling-all-buttons-one-submiting-button/
These are quite old but still valid for the most part:
https://blogs.adobe.com/formfeed/2008/11/loop_through_subform_instances.html
https://forms.stefcameron.com/2006/06/26/process-all-fields/
https://blogs.sap.com/2016/09/22/loop-through-all-controls-fields-in-adobe-forms/
and sth that comes close to what you want to do:
https://acrobatusers.com/forum/forms-livecycle-designer/disabling-all-buttons-one-submiting-button/