These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Resetting check boxes and specific fields but others still reset

scderacjor
Registered: Mar 27 2009
Posts: 123

(LiveCycle, Dynamic XML Form)

My issue is somewhat complex. I have check boxes that populate several fields when selected. I have a reset button for these check boxes and the fields they populate (and set the specific items that need to be reset).

I also have some text fields that users need to fill out. On initialize, these fields turn red (Item.fontColor = "255,0,0";) and on click they turn black (Item.fontColor = "0,0,0";).

For some reason, my reset button for the check boxes which have no connection to the red text fields whatsoever, turns the already clicked black font back to red.

I tested a fix and removed the remerge code (xfa.form.remerge();) and the button stopped changing the font color, but it also stopped unchecking the check boxes.

If it is impossible to answer this question without seeing the form, can someone tell me how and where to post it?

scderacjor
Registered: Mar 27 2009
Posts: 123
I just noticed, all of the stuff on the second page does not reset properly.

The fields that are populated by the check boxes reset to red font, but not to their original text. The other fields I mentioned above are also on the second page.