L
L
luckyfox072018-05-05 12:30:04
MODX
luckyfox07, 2018-05-05 12:30:04

FormIt+ajaxform doesn't send messages, what did I do wrong?

There is this chunk:

<form action="#" method="post" class="ajax_form af_example" enctype="multipart/form-data">
  <p class="form__title">
      Отправьте анкету и мы свяжемся с Вами
              </p>
              <p class="input_label">
                Ваше имя*
              </p>
              <input type="text" class="input" id="name1" name="name1" required value=" ">
              <p class="input_label">
                Ваш e-mail*
              </p>
              <input type="email" class="input" id="email1" name="email1" required value="">
              <div class="form__foto">
                <p class="input_label">
                  Ваше фото
                </p>
                <input type="file" id=»af_file» name="contact_attachment" value="" >
              </div>
              <label class="label">
                <input type="checkbox" required>
                Мне есть 18 лет
              </label>
              <button type="submit" class="form__button">
                Отправить
              </button>
              <p class="form__protection">Ваши данные ни при каких обстоятельствах НЕ БУДУТ переданы третьим лицам</p>

    
</form>


and here is the call:


just form sends emails

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sanes, 2018-05-05
@Sanes

jquery not connected

S
Sergey Levchenko, 2018-05-05
@nuykon

You need to look in the browser console, are there any errors ?. And add the following parameter to the call to the Ajaxform snippet:
&allowFiles=`true`

R
Ruslan, 2018-05-05
@ruslan_aleev

The new formit (4.0.0) requires php 7, maybe that's the problem.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question