Change order of calling of form onSuccess() and onSubmit()

Notice: This thread is very old.
bene
Member | 82
+
0
-

Hi,

I suggest move calling of method Form::onSubmit() before Form::onSuccess() or add new method “Form::beforeOnSuccess()”.

Reason of this suggest is that I need make some sophisticated validation or normalization of form data before calling of method Form::onSubmit().

I cannot find a use-case for actual implementation.

David Matějka
Moderator | 6445
+
0
-

you can use onValidate