w2form.disable

Disables fields in a form.
disable(field1, field2, ...)
field string, id of the field
Returns array of effected fields.

Description

Disables a field or fields from the .fields array and refreshes the form. The field is identified by the .field property, which is a required property for each field object. The method returns the number of fields it disables.
Example:

User Comments

comments powered by Disqus