Expand my Community achievements bar.

SOLVED

Disabling or enabling text fields by condition

Avatar

Level 3

Hi,

How can I do that according to picture below with Adobe LiveCycle Designer ES2?

ald

1 Accepted Solution

Avatar

Correct answer by
Level 6

I think something like this would work:

the code should be placed on the radio button group

switch(this.rawValue){
case "1":
textfieldA open;
break;
case "2":
textfieldA readOnly;
textfieldB open;
break;
}

There's a tutorial at:  http://acrobatusers.com/tutorials/2007/09/js_disabling_fields  that may help

View solution in original post

2 Replies

Avatar

Correct answer by
Level 6

I think something like this would work:

the code should be placed on the radio button group

switch(this.rawValue){
case "1":
textfieldA open;
break;
case "2":
textfieldA readOnly;
textfieldB open;
break;
}

There's a tutorial at:  http://acrobatusers.com/tutorials/2007/09/js_disabling_fields  that may help