auto check checkbox


hi,

 

i trying have check box auto checked if value in fields on 5000.

 

 

 

 

here script doesnt seem working.any appreciated.

 

 

 

var

x= form1.mainarea_en_2.page2subform.granttotal.rawvalue;

var y =form1.mainarea_en_3.calc_2.rawvalue;

 

 

 

if

(x > 5000  ||  y ==1){

this.rawvalue=1;

}else{

this.rawvalue="";

}

 

 

thank you.

this works me, check javascript console see if error.  event , field executing script.

 

if ((numericfield1.rawvalue > 5000) || (numericfield2.rawvalue == 1)) {

checkbox1.rawvalue = "1";

} else {

checkbox1.rawvalue = "";

}



More discussions in LiveCycle Designer


adobe

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account