Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

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

Avatar

Level 3

Thanks very much