Enabling submit button only when all fields are valid
The following example will disable the Submit button as long as there is at least one invalid field. In case all of fields are valid, the button will be enabled.
We can archive it by using the
onStatusChanged option provided by the FieldStatus plugin.