Formulário Básico MODX FormIt

[[!FormIt?&hooks=`spam,email,redirect`&emailTpl=`SendEmailChunk`&emailTo=`info@domain.com`&emailUseFieldForSubject=`1`&redirectTo=`9`&validate=`name:required, email:email:required, subject:required, text:required:stripTags` ]][[!+fi.error_message:notempty=`<p>[[!+fi.error_message]]</p>`]]<form action=”[[~[[*id]]]]” method=”post” class=”contactForm”><input type=”hidden” name=”nospam:blank” value=”” /><div> <label for=”name”> Name: <span class=”error”>[[!+fi.error.name]]</span></label><input type=”text” name=”name” id=”name” value=”[[!+fi.name]]” /></div><div> <label for=”email”> Email: <span class=”error”>[[!+fi.error.email]]</span></label><input type=”text” name=”email” id=”email” …

Continuar lendo