Answer the question
In order to leave comments, you need to log in
MODX REVO AJAX Form + FormIt how to add PHONE field?
Friends tell me how to add a phone field to the AJAX FORM + FORM IT form?
Name and Email work, but by analogy, I add a phone number, it doesn’t work, what’s wrong?
<form action="" method="post" class="ajax_form af_example">
<div class="form-group">
<label class="control-label" for="af_name">af_label_name</label>
<div class="controls">
<input type="text" id="af_name" name="name" value="" placeholder="" class="form-control"/>
<span class="error_name"></span>
</div>
</div>
<div class="form-group">
<label class="control-label" for="af_email">af_label_email</label>
<div class="controls">
<input type="email" id="af_email" name="email" value="" placeholder="" class="form-control"/>
<span class="error_email"></span>
</div>
</div>
<div class="form-group">
<label class="control-label" for="af_phone">Телефон</label>
<div class="controls">
<input type="text" id="af_phone" name="email" value="" placeholder="" class="form-control"/>
<span class="error_phone"></span>
</div>
</div>
<div class="form-group">
<div class="controls">
<button type="submit" class="btn btn-primary">отправить</button>
</div>
</div>
</form>
<b>Email</b>: <br />
<b>Имя</b>: <br />
<b>Тел</b>:
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