Skip to main content
Kris Hunt
Legend
Dec 20, 2016 3:40 PM UTC
Answered

How do you disable a form field?

In a mouseUp action for a radio button, I want to include some Javascript to disable another form field (a combobox). This is what I've tried, and it isn't working:

this.getField("fieldName").disabled=true;

This topic is closed to new replies. Start a new post to keep the conversation going.
try67
try67Correct answer
Community Expert
Dec 20, 2016 3:44 PM UTC

Replace "disabled" with "readonly"...

1 reply

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
Dec 20, 2016 3:44 PM UTC

Replace "disabled" with "readonly"...

Translate