Skip to main content
Kris Hunt
Legend
December 20, 2016
Answered

How do you disable a form field?

  • December 20, 2016
  • 1 reply
  • 526 views

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 has been closed for replies.
Correct answer try67

Replace "disabled" with "readonly"...

1 reply

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
December 20, 2016

Replace "disabled" with "readonly"...