octobercms data request code example
Example: form data-request octobercms
$("form").submit(function(){
$(this).request('{{ mailSignup }}::onSignup', {
/* Update or send data */
})
$(this).request('{{ genericForm }}::onFormSubmit', {
/* Update or send data */
})
});