Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

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

Former Community Member

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>!