Answer the question
In order to leave comments, you need to log in
Why does AjaxForm send an array?
Good day! For some reason unknown to me, AjaxForm on modx revolution sends an array instead of an email template. The letter comes with the following content:
Array ( [name-zv] => Eugene [phone-zv] => 87777777777 [pageId] => 13 )
Feedback form chunk
<div id="modal_form">
<h3>Заказать звонок!</h3>
<div class="comment">Оставьте заявку и наш специалист свяжется с вами в ближайшее время!</div>
<a class="exit"></a>
</div>
<div id="overlay"></div>
<form method="post" class="ajax_form af_example">
<input type="text" placeholder="Как вас зовут?" value="" name="name-zv" id="name" class="input_text form-control"/>
<span class="error_name"></span>
<input type="text" placeholder="Контактный телефон *" name="phone-zv" value="" id="phone-zv" class="phone-zv form-control"/>
<span class="error_message"></span>
<div class="comment">Поля отмеченные <span class="required">*</span> обязательны для заполнения</div>
<input class="button" type="submit" value="Заказать">
</form>
<p style="font-size: 18px">На сайте <b>http://askmeplz.com/</b> оставили заявку.</p>
<p>От кого: </p>
<p>Телефон: </p>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question