the javascript code is not working.
hi ,
tried disable text field using following code. able disable field, field still allowing enter data in disable mode also.
the code used is:
var curr_state = thisitem.getproperty("state");
var correction = getfieldbyname("correction");
if(curr_state=="new")
{
if(correction)
{
var correction_style = correction.style;
correction.disabled = true;
correction_style.visibility = "visible";
correction_style.display = "";
}
else{
correction.disabled = false;
}
}
is there mistakes in above code?
need help.
thank all,
harsha
More discussions in LiveCycle Forms
adobe
Comments
Post a Comment