FormIt+AjaxForm sending multiple emails (3) instead of one

Snippet call:

    	&emailSubject=`Заявка на бесп. консультацию`
    	&successMessage=`Заявка успешно отправлена`
    	&validationErrorMessage=`Некорректно заполнены данные`

Form HTML (chunk tpl.AjaxForm.consult.crm6034):

    <form action="" class="form_phone ajax_form af_consult_crm6034" id="****_crm6034" method="post" onSubmit="ym('56***011','reachGoal', 'FORM_SUBMIT');">
    	<input type="hidden" name="consult__submit_6034" value="1">
    	<input type="text" style="display: none;" name="fullname">
    	<input type="hidden" name="nospam:blank" value="[[+fi.nospam]]">

    	<input type="text" name="phone" class="form_phone-input" placeholder="Your phone" value="[[]]" data-validation-callbacks="not_empty">
    	<button class="modal__submit" type="submit" name="submit">Send</button>

Can you share some more info: do you have any errors in the Javascript error console, do you have any errors in your error log? Do you have any other JS on the page that binds to a form submit event? Can you edit the Ajaxform JS to console.log the events as they take place to find out why its calling the snippet 3 times?

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.