KenticoFormWidgetControllerFormSubmit Method |
Action processing submission of a form.
Namespace: Kentico.Forms.Web.Mvc.Widgets.InternalAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntaxpublic Task<ActionResult> FormSubmit(
string formName,
string prefix,
bool isUpdating,
bool displayValidationErrors = false
)
Parameters
- formName
- Type: SystemString
Name of the form which is submitted. - prefix
- Type: SystemString
Prefix of the keys in the form collection. Value without trailing dot is expected. If null, no prefix is assumed. - isUpdating
- Type: SystemBoolean
Decides whether this request updates form's markup e.g. due to visibility conditions. - displayValidationErrors (Optional)
- Type: SystemBoolean
Decides whether validation errors that occur during evaluating visibility conditions are supposed to be displayed.
Return Value
Type:
TaskActionResult
See Also