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

T000L
Community profile T000L Level 2
Job title here
Location here
7 BADGES
Level 2

Level 2

Learn more
Joined the community 21-03-2011 9:41:40 AM
Offline
Top badges earned by T000L
Customize the badges you want to showcase on your profile
Re: Can't get removeInstance to remove the current instance
Avatar
Give Back 5
Level 2
T000L
Level 2

Like

1 like

Total Posts

7 posts

Correct reply

1 solution
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
T000L
- Adobe LiveCycle
Got it. Ended up checking the relative path of the remove button to the OrderMain subform. Since the remove button is in a different subform, I needed to take that into account when determining the index of the repeatable OrderMain subform. Since each "parent" refers to another subform, I changed the delete button code to the following:this.resolveNode('MasterSubform._OrderMain').removeInstance(this.parent.parent.parent.parent.index);if (xfa.host.version < 😎 {xfa.form.recalculate(1);}

Views

267

Like

1

Replies

1
Re: Can't get removeInstance to remove the current instance
Avatar
Give Back 5
Level 2
T000L
Level 2

Like

1 like

Total Posts

7 posts

Correct reply

1 solution
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
T000L
- Adobe LiveCycle

Views

252

Likes

0

Replies

0
Re: Can't get removeInstance to remove the current instance
Avatar
Give Back 5
Level 2
T000L
Level 2

Like

1 like

Total Posts

7 posts

Correct reply

1 solution
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
T000L
- Adobe LiveCycle
Hi, RadzmarHere is the SOM expression for the button: SignOrderForm.MasterSubform.OrderMain.Subtotal.OrderTable.HeaderRow.DeleteTable::click - (JavaScript, client)

Views

252

Likes

0

Replies

0
Can't get removeInstance to remove the current instance
Avatar
Give Back 5
Level 2
T000L
Level 2

Like

1 like

Total Posts

7 posts

Correct reply

1 solution
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
T000L
- Adobe LiveCycle
I have a form that has a table inside of a subform which I've added a button to add additional instances of the subform containing the table. The add instance button is working fine, however, I also have a button to delete the current instance of the subform containing the table, and it isn't working right. It keeps removing the first instance of the subform rather than the current instance. For example, lets say the first table is for ordering product A, then the user can add another instance o...

Views

924

Likes

0

Replies

5
Re: Copying a page with data
Avatar
Give Back 5
Level 2
T000L
Level 2

Like

1 like

Total Posts

7 posts

Correct reply

1 solution
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
T000L
- Adobe LiveCycle
Thanks for your post Srini - unfortunately I haven't been able to get this to work.I was hoping I could take advantage of the Action Builder in ES2 but I don't see any way to create an action that would copy data from the existing page to the new page since it technically doesn't exist until the new instance is created when the button is executed.

Views

40

Likes

0

Replies

0
Re: Copying a page with data
Avatar
Give Back 5
Level 2
T000L
Level 2

Like

1 like

Total Posts

7 posts

Correct reply

1 solution
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
T000L
- Adobe LiveCycle
Well shoot. I feel better knowing my question is harder to answer than I thought.It may not even be possible but at least then I could finalize this form.Thanks again for any help.

Views

40

Likes

0

Replies

0
Copying a page with data
Avatar
Give Back 5
Level 2
T000L
Level 2

Like

1 like

Total Posts

7 posts

Correct reply

1 solution
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
T000L
- Adobe LiveCycle
I've got a form I put together that I use for tracking equipment. I have set it up with a button that will copy the page, but it just copies the page but not the data already entered into the form. The thing is, most of the time I am I end up filling out the same data for nearly all the fields except for one or two. It would be nice to be able to click the add page button at the bottom and have it copy the page with the data that's already been entered... or have a separate button entirely. One ...

Views

401

Likes

0

Replies

3
Likes from