Yes ...moving the buttons outside of the subform will stop them from repeating, but you may have to modify the expression that calls the subform to include the parent subform. Also for the delete you pass in an index to let it know which one you wantt o remove. By having the button insode of the subform you can get the index by using this.parent.index. If you move the button outside you will not know which one they want to remove (unless you always take the last one).
I do not understand your question about the workbench. Designer comes with workbench when you buy the LiveCycle product line. Worknbench is not sold on its own. You can get designer on its own though.
I was able to set the buttons in a seperate subform (since the entire document is Flowable). The using the action builder - sweet toy add-on it was simple to just point to the subform that I needed repeating. Remembering that I also had to make sure I set the subform as repeatable,
I do have a mnore complex question:
Is it possible to have a form (text field) and resides in the middle of the original page, have it hidden (until invoked by a check box or button) and then appear - but have it so that I do not need to set the space for it, just the insertion point, and then if invoked, the form will allowcate the space dynamically to allow it to be visible and present.
So to try to explain it better: You have a PDF form with many fields all tightly formatted. you want to have a hidden form somewhere in the middle to appear once invoked. But usually I can only do this by creating the form and then setting it to hidden. Thje blank sapce then still remains and hence the form canm look odd. So I want the form to remain tightly formatted (one text box after another and so on) and only when invoked, the extra textfield will appear in an areas I specified by just marking it as an insertion point - not allocating the entire field for it.
I hope this all makes sense.
1 person found this helpful
Yes you can do that ....make sure that the field is wrapped in a subform and it is the subform that you want to show and hide. Make sure the presence is hidden and not invisible. The root subform must be set to flowed for this to work correctly. The field will take up space at Design time but will not when you render it (util you change its presence).
Hi Paul,So it seems to work, but what is the action code to make the subform appear? I set the main page as flowed. Have the subform as hidden, went into the button action builder and tried both Show or Hide an object or Enable or Disable an object - but neither of the two actions worked.Any suggestions is much appreciated.
I woudl need to see the form to truely understand what you are doing. Send it to LiveCycle8@gmail.com and I wil have a look when I get a chance. Make sure you include a synopsis of the issue please.