Hello user's
i have used formit in my contact page for my website,i have follow all instructions of formit but still its not working ..
i have downlaode the package first and install it..
after that i have creat a page and add code into
[[!FormIt?
&hooks=`recaptcha,spam,email,redirect`
&emailTpl=`MyEmailChunk`
&emailTo=`[email protected]`
&redirectTo=`123`
&validate=`name:required,
email:email:required,
subject:required`
]]
[[!+fi.error_message:notempty=`<p>[[!+fi.error_message]]</p>`]]
<form action="[[~[[*id]]]]" method="post" class="form">
<input type="hidden" name="nospam:blank" value="" />
<input type="text" name="name" id="name" class="input_field" value="[[!+fi.name:default=`Name:`]]" />
<span class="error">[[!+fi.error.name]]</span>
<input type="text" name="email" id="email:" value="[[!+fi.email:default=`Email:`]]" class="input_field"/>
<span class="error">[[!+fi.error.email]]</span>
<input type="text" name="subject" id="subject" value="[[!+fi.subject:default=`Subject:`]]" class="input_field" />
<span class="error">[[!+fi.error.subject]]</span>
<textarea name="notes">[[!+fi.notes:default=`Message:`]]</textarea>
<input type="submit" value="Submit" class="blue_btn_small" />
</form>
after taht i have creat a new chunk with the name of "MyEmailChunk".. and add code into it
This is the Formit Email Chunk.
<br />[[+name]] ([[+email]]) Wrote: <br />
[[+text]]
after that i have run my page .. validation's are working bt after fill all field's the form did nt redirect or also did nt send the email..
plz help