on 06-05-2008 6:50 AM
Hi Experts,
Now i develop interactive form by adobe use webdynpro for java,I have an interactive form with a dynamic table inside that. i Have Add and Delete Buttons to insert and delete rows.
Can you tell me how can i finish it?
Thanks a lot.
yours zunxian.
Hi Zunxian,
Add the below code to the buttons:
Add button code:
Body_Page_Name.Subform_Name.Section_Name.TableRow.instanceManager.addInstance(1);
xfa.form.recalculate(1);
ActionGO.AddInst();
Remove Rows:
Body_Page_Name.Subform_Name.Section_Name.TableRow.instanceManager.removeInstance(this.parent.index);
Do reward points if found helpful.
Regards,
Arafat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Arafat:
But where i can add these code .
Thank you !
yours zunxian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can place these codes in the respective OnClick event of the buttons that you created for Adding/Removing the rows.
Open form in Adobe Lifecycle Designer > Select the button> From script editor choose on Click event and place this code there.
Hope this resolves your issue.
Regards,
Arafat
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.