ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Expression Tags not rendering

September 09, 2011 2:01pm

Subscribe [2]
  • #1 / Sep 09, 2011 2:01pm

    icon123

    1 posts

    I am trying to create an email form. According to the documentation I need to use something like so:

    {exp:email:contact_form user_recipients="false" recipients="[email protected]" charset="utf-8"} <h2>Support Form</h2><p> <label for="from">Your Email:</label><br />
     <input type="text" id="from" name="from" size="40" maxlength="35" value="{member_email}" /></p> <label for="subject">Subject:</label><br />
     <input type="text" id="subject" name="subject" size="40" value="Contact Form" /></p> <label for="message">Message:</label><br />
     <textarea id="message" name="message" rows="18" cols="40">Support Email from: {member_name} Sent at: {current_time format="%Y %m %d"}</textarea></p> <input name="submit" type='submit' value='Submit Form' /></p> {/exp:email:contact_form}

    But when posting this into a page those tags are just displayed when viewing it. It does not appear that EE is rendering these tags. I do have the email module turned on. Is there something that I am missing?

  • #2 / Sep 13, 2011 11:12am

    smartpill

    456 posts

    Check to see if the template “Type” is set to “Web Page”. This code is in a template, not entered in an entry field, right? The tags would be converted to HTML if placed in an entry field.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases