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

Reset Data Row Button

Dan_NY
Level 2
Level 2

Stuck. I'm trying to setup a button to reset only the data in the row where the button is. Anyone? Pls.

1 Accepted Solution
jasotastic81
Correct answer by
Level 7
Level 7

Add this to the click event of your button.


xfa.host.resetData("this.parent.tfData1,this.parent.tfData2,this.parent.tfData3");


Where tfData1, 2, and 3 are replaced by whatever you named your fields.

View solution in original post

0 Replies
jasotastic81
Correct answer by
Level 7
Level 7

Add this to the click event of your button.


xfa.host.resetData("this.parent.tfData1,this.parent.tfData2,this.parent.tfData3");


Where tfData1, 2, and 3 are replaced by whatever you named your fields.

View solution in original post

Dan_NY
Level 2
Level 2

Awesome. thanks. I didn't want to specify fields and the row is instance managed so I just used xfa.host.resetData("this.parent")