[[!FormIt?
&hooks=`email,redirect`
&emailTpl=`MyEmailChunk`
&emailTo=`anvan.me@mail.ru`
&emailFrom=`info@domodedovo-remont.ru`
&redirectTo=`1`
&validate=`name:required,
email:email:required,
phone:required,
text:required:stripTags`
]]
<h2>Обратная связь</h2>
[[!+fi.validation_error_message:notempty=`<p>[[!+fi.validation_error_message]]</p>`]]
<form action="[[~[[*id]]]]" method="post" class="form">
<input type="hidden" name="nospam:blank" value="[[+fi.nospam]]" />
<label for="name">
Контактное лицо (ф.и.о.):
<span class="error">[[!+fi.error.name]]</span>
</label>
<input type="text" name="name" id="name" value="[[!+fi.name]]" />
<br />
<label for="email">
Email:
<span class="error">[[!+fi.error.email]]</span>
</label>
<input type="text" name="email" id="email" value="[[!+fi.email]]" />
<br />
<label for="phone">
Телефон:
<span class="error">[[!+fi.error.phone]]</span>
</label>
<input type="text" name="phone" id="phone" value="[[!+fi.phone]]" />
<br />
<label for="text">
Содержание заявки:
<span class="error">[[!+fi.error.text]]</span>
</label>
<textarea name="text" id="text" cols="55" rows="7" value="[[!+fi.text]]">[[!+fi.text]]</textarea>
<br class="clear" />
[[!+formit.recaptcha_html]]
[[!+fi.error.recaptcha]]
<br class="clear" />
<div class="form-buttons">
<input type="submit" value="Отправить" />
</div>
</form>