EllisLab text mark
Advanced Search
Syntax error in contact form
Posted: 06 July 2010 08:46 AM
Joined: 2008-08-11
103 posts

Hi there!

I have cut and paste the same correct working code from my clients Commercial EE site to the new Core Version site but we get an error message (my client will move to the commercial version when members grow).

I have also created a blank test template and get the same error message. The error message as follows:

The following tag has a syntax error:
Please correct the syntax in your template.

The is the contact form code:

{exp:email:contact_form user_recipients="false" recipients="bedroomeyes@y7mail.com" charset="utf-8" return="http://www.bedroomeyes.info/index.php/site/index2/"}
<h1>Email US</h1>
p><label for="from">Your Email:</label><br />
input type="text" id="from" name="from" size="40" maxlength="35" value="" /></p>
p><label for="subject">Subject:</label><br />
input type="text" id="subject" name="subject" size="40" value="Contact Form" /></p>
p><label for="message">Message:</label><br />
textarea id="message" name="message" rows="9" cols="40"></textarea></p>
p><input name="email_list" type="checkbox" checked />By leaving the box checked you will be added to the BRE VIP mailing list. Your email is confidential to BREYou may unsubscribe at any time.</p>
p><input name="submit" type='submit' value='Submit Form' /></p>

Can anyone help?
Many thanks

Posted: 06 July 2010 09:03 AM   [ # 1 ]   [ Rating: 0 ]
Joined: 2004-05-15
29075 posts

Your site is either commercial in nature, or it’s not—the number of users does not matter. With that in mind, the “Core” version does not come with the Email module you’d need.

Posted: 06 July 2010 09:07 AM   [ # 2 ]   [ Rating: 0 ]
Joined: 2008-08-11
103 posts

Thanks for you reply Ingmar! Really appreciate the quick response

Posted: 06 July 2010 01:50 PM   [ # 3 ]   [ Rating: 0 ]
Joined: 2002-04-29
26055 posts

Glad Ingmar was able to help. Don’t hesitate to post again as needed.