{hero}

fields.submit

Since: Editor 1.8.0

Define if the field's value should be included in the submitted data.
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

It can sometimes be useful to have a field on screen which is for information purposes only, providing context for the end user in the form or just simply to split the form up (the built in readonly and the plug-in display field types are common examples of where this is useful). On those cases you might not wish to have the data submitted to the server from these fields (it is optional, as sometimes it can be useful!).

The field.submit option can be used to control if a field's value should be submitted to the server or not. By default it will be, but seeing this option to false will stop the field being submitted.