Answered
Hi,
I've got a checkbox and a text field. I'd like the checkbox editable as soon as the checkbox is activated (checked). How can I do that (sry I'm new to LCD).
Thanks in advance
Mading
Hi,
I've got a checkbox and a text field. I'd like the checkbox editable as soon as the checkbox is activated (checked). How can I do that (sry I'm new to LCD).
Thanks in advance
Mading
if (this.rawValue == 1) //Find out if the checkbox is checked.
{
TextField1.access = "open"; //If it is checked then make the text field editable.
}
else
{
TextField1.access = "readOnly"; //If it isn't checked then make the text field read only.
}
Find out more about the access scripting property and other script help from the LiveCycle Designer Help. Just type in access in the Index tab of the help.
StevenD