{hero}

field().submittable()

Since: Editor 2.4

Get / set the submit flag for a field.
Please note - this property requires the Editor extension for DataTables.

The full Editor reference documentation is available to registered users of Editor - the information shown below is a summary only. If you already have an Editor license please , alternatively an Editor license can be purchased on this site, or sign up for the free trial.

Description

field.submit can be used to indicate if a field should be included in the submission object or not. This API method provides the ability to change a field's submit flag dynamically after initialisation.

Note that this method is not called field().submit() as it is a flag and does not immediately trigger a submit of a form or field like submit() does.