SubmitButton::submit()

FormInterface submit(null|string|array $submittedData, bool $clearMissing = true)

Submits data to the button.

Parameters

null|string|array $submittedData The submitted data
bool $clearMissing Whether to set fields to NULL when they are missing in the submitted data.

Return Value

FormInterface The form instance

Exceptions

AlreadySubmittedException If the form has already been submitted.
doc_Symfony
2016-10-28 06:33:33
Comments
Leave a Comment

Please login to continue.