Form
The Form component provides a reusable pattern for forms in the interface.
Form
API
| Parameter | Default | Description |
|---|---|---|
|
method
|
POST | Set to POST by default |
|
action
|
# | Path to file, set to # by default |
|
validation
|
true | Validation method toggle on off |
|
errorMessage
|
If filled: Gives a general error message when form is invalid | |
|
validateMessage
|
If filled: Gives a general success message when form is valid |