new PicassoForm()
The Picasso representation of a form
- Source:
Members
-
valid :boolean
-
Describes the valid state of the form
Type:
- boolean
- Source:
Methods
-
addField(pField)
-
Adds a field to the form
Parameters:
Name Type Description pField
Picasso.form.field.PicassoField - Source:
-
getField(fieldId) → {Picasso.form.field.PicassoField}
-
Gets a field by the Id
Parameters:
Name Type Description fieldId
string - Source:
Returns:
-
getFields() → {Picasso.form.field.PicassoField[]}
-
Gets the form fields
- Source:
Returns:
- Type
- Picasso.form.field.PicassoField[]
-
getHTMLElement() → {HTMLFormElement}
-
Gets the html element
- Source:
Returns:
- Type
- HTMLFormElement
-
setHTMLElement(htmlForm)
-
Sets the html element
Parameters:
Name Type Description htmlForm
HTMLFormElement - Source:
-
value(data)
-
Gets/Sets the form value
Parameters:
Name Type Description data
Object.<string, *> returns {Object} - Source: