Skip to main content

beforeSend

fires before a form is sent to the server

beforeSend: () => boolean;

Returns:

Return true/false to allow/forbid a form sending to the server.

Example

form.events.on("BeforeSend", function(){   // your logic here   return true;});

Change log:

added in v6.1