repeating subforms


hello,

 

i have form if user checks box a, open section repeating subform. if user clicks add, add new instance of subform. if go , uncheck box a, repeating subforms should disappear, staying visible.

 

 

in 'change' event of check box have following code:

 

if(this.rawvalue == "1")

{

subfrmrepeatingform.presence = "visible";

subfrmrepeatingbtn.presence = "visible";

}

 

if (this.rawvalue == "0")

{

subfrmrepeatingform.presence = "hidden";

subfrmrepeatingbtn.presence = "hidden";

 

can offer why these fields not clearing?

 

thank in advance,


nik

not sure if it's way copy , pasted code missing final brace "}" in second statement.



More discussions in LiveCycle Designer


adobe

Comments