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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Reset floating field

Avatar

Level 4

I have a static text paragraph with two floating fields.

When the filler clicks on the RESET button it clears all the other fields except the text from the floating fields.

In addition to the default JS on the reset button object (xfa.host.resetData();), I tried this JS on the reset button but no impact:  xfa.host.resetData("xfa.form.form1033.P1.floatCoName");

2 Replies

Avatar

Level 10

Floating fields are not like regular fields and are not interactive. They only exist while the form is being rendered and once they are populated are turned into text (after the reflow of course). From that point on they are not addressable.

Paul

Avatar

Level 4

Thanks Paul.  Not the answer I wanted though <grin>!