Hello,
I am having errors come up when installing my contact form (couch) on my website. Ive followed the tutorial in the documentation, and from what I can see, I cant detect any errors in the code:
Could you take a look and see what I am doing wrong?
http://www.constantflux.ca is the link, you will notice there is an error, so the site wont load... however when I go to check the line of code the error is on, there is an opening or closing tag for that line
below is the code:
Thanks for your help
I am having errors come up when installing my contact form (couch) on my website. Ive followed the tutorial in the documentation, and from what I can see, I cant detect any errors in the code:
Could you take a look and see what I am doing wrong?
http://www.constantflux.ca is the link, you will notice there is an error, so the site wont load... however when I go to check the line of code the error is on, there is an opening or closing tag for that line
below is the code:
- Code: Select all
<cms:form action='' method='post' id='contact-form'>
<p class="contact-name">
<cms:input type='text' name='name' id='name' required='1'>
<cms:if k_error_name>
<p id='name_error' class='error' style="display:block;">Insert a Name</p>
</cms:if>
</p>
<p class="contact-email">
<cms:input type='text' name='email' id='email' required='1' validator='email'>
<cms:if k_error_email>
<p id='email_error' class='error' style="display:block;">Enter a valid email address</p>
</cms:if>
</p>
<p class="contact-message">
<cms:input type='textarea' name='message' id='message' rows="15" cols="40" require='1'></cms:input>
<cms:if k_error_message>
<p id='message_error' class='error' style="display:block;">Enter a message</p>
</cms:if>
</p>
<p class="contact-submit">
<cms:if k_success>
<p id='mail_success' class='success'>Thank you. I'll get back to you as soon as possible.</p>
<p id='mail_fail' class='error'>Sorry, an error has occured. Please try again.</p>
<a id="contact-submit" class="submit" href="#">Send Your Email</a>
<cms:send_mail from=k_email_from to=k_email_to subject='Email from website'>
The following is an email sent by a visitor to your site:
<cms:show k_success />
</cms:send_mail>
</cms:if>
</p>
</cms:form>
Thanks for your help