Toggle menu

helper.utilMakeReadOnlyField(fieldID, readOnly)

Low level jQuery wrapper for making a field read only.

In general use you should probably be using .disableField.

Executed

Client-side only.

Arguments

ArgumentTypeDescription
fieldIDString, requiredThe DOM ID of the field to make read only. A field's ID is generally the form name and the field name separated by an underscore
readOnlyBoolean, requiredTrue to make the field read only
Last modified on 09 March 2020

Share this page

Facebook icon Twitter icon email icon

Print

print icon