Jump to content

How to add a "Name" field to the contact form?


Recommended Posts

I'm using v1.3, I just added the following code to contact-form.tpl:

 

<p class="text">
<label for="contact_name">{l s='Name'}</label>
<input type="text" id="contact_name" name="contact_name" value="{$contact_name}" />
</p>

 

And this into mails/en/contact.php:

 

Name: {contact_name}

 

But this didn't work. Any ideas?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...