new FormModel(formGroup, action)
Form helper providing enhanced Form functionality Each form action should define a form action callback.
Parameters:
Name | Type | Description |
---|---|---|
formGroup |
dw.web.Form | dw.web.FormGroup |
The current form (group) instance |
action |
dw.web.FormAction |
The triggered form action |