FormIt+ajaxform does not send the message, what did I do wrong?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
31 views
There's a chunk:
Submit the form and we will contact You Your name* Your e-mail* Your photo Your data under any circumstances WILL NOT be disclosed to third parties[[+fi.success:is=`1`:then=` [[+fi.successMessage]]`]] [[+fi.validation_error:is=`1`:then=` [[+fi.validation_error_message]]`]] 


and here is the call:
[[!AjaxForm? &form=`tpl.AjaxForm.example` &hooks=`FormitSaveForm,email` &emailSubject=`Message` &emailTo=`zhenya.bond07@yandex.ru` &emailFrom=`zhenya.bond07@yandex.ru` &emailTpl=`tpl.email.attach` &validate=`name:minLength=^2^,email:email:required,message:minLength=^10^` &validationErrorMessage=`the form contains errors!` &successMessage=`Message successfully sent` ]]


just formit sends letters
by | 31 views

3 Answers

0 like 0 dislike
Jquery is not connected
by
0 like 0 dislike
We must look at the browser console, are there errors?. And in the snippet call ajaxform add the parameter:
&allowFiles=`true`
by
0 like 0 dislike
New formit (4.0.0) requires php 7 might be trouble in this.
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
asked Aug 18, 2019 by nikolay_akhmetyanov
0 like 0 dislike
1 answer
110,608 questions
257,187 answers
0 comments
40,796 users