i have form shows either of 2 subforms based on value selected drop-down list. if "value 1" selected, subform1 made visible (and subform2 hidden), , viceversa.
i need clear data (checkboxes, radio buttons, text) when subform becomes visible. each subform contains 7 objects.
is there code can apply subforms (sort of "clear subform data" command) when becomes visible, or need each object in subforms?
thanks.
i need clear data (checkboxes, radio buttons, text) when subform becomes visible. each subform contains 7 objects.
is there code can apply subforms (sort of "clear subform data" command) when becomes visible, or need each object in subforms?
thanks.
use xfa.host.resetdata , pass som expression subform want clear. fields default values reset default values. fields without defaults cleared.
in javascript (assuming subform want clear out called mysubform):
xfa.host.resetdata("xfa.form.form1.mysubform");
jared langdon
www.jlangdon.ca
in javascript (assuming subform want clear out called mysubform):
xfa.host.resetdata("xfa.form.form1.mysubform");
jared langdon
www.jlangdon.ca
More discussions in LiveCycle pre-ES (6.x and 7.x) discussions
adobe
Comments
Post a Comment