beforeSend
fires before a form is sent to the server
beforeSend: () => boolean | void;
Returns:
Return true/false
to allow/forbid a form sending to the server.
Example
form.events.on("beforeSend", function(){
// your logic here
return true;
});
Related sample: Form. Events
Change log:
added in v6.1