Forums / General Questions / Adding an Input Field for "which item?" to the Contact Us Page

Adding an Input Field for "which item?" to the Contact Us Page

Started by adambos on 13 Dec 2012, 10:07 PM · Views: 1,152

Results 1 to 6 of 6
13 Dec 2012, 10:07 PM
#1
adambos avatar

adambos

New Zenner

Join Date:
Dec 2011
Posts:
8
Plugin Contributions:
0

Adding an Input Field for "which item?" to the Contact Us Page

Hi Guys

can you please tell me how to add an an input field to the contact us page.

currently the page by default has Full Name field, Email Address field and Message field! and they are all required input fields for customer to contact us.

i wish to add an extra input field where the customer can tell us what is the name of the item he or she is inquiring about!

Please help.

Thank you
Adam

13 Dec 2012, 10:17 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Adding an Input Field for "which item?" to the Contact Us Page

That is what the Message field is for
You can add instructions in the define pages editor

Zen-Venom Get Bitten

13 Dec 2012, 10:24 PM
#3
adambos avatar

adambos

New Zenner

Join Date:
Dec 2011
Posts:
8
Plugin Contributions:
0

Re: Adding an Input Field for "which item?" to the Contact Us Page

it seems that when clients click on call for price for certain item, they get directed to the contact us page and they start writing their inquiries assuming that the receiver already know what is the item in question!

if i have a required field there, it will force them to type the name or the part number of the item they inquiring about!

Thank you for your response in advance

13 Dec 2012, 10:31 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Adding an Input Field for "which item?" to the Contact Us Page

If you know php & html form structure you can add to a copy for your template of tpl_contact_us_default.php
You will need to add to the datbase a field to collect this info and code for same

Zen-Venom Get Bitten

13 Dec 2012, 10:39 PM
#5
adambos avatar

adambos

New Zenner

Join Date:
Dec 2011
Posts:
8
Plugin Contributions:
0

Re: Adding an Input Field for "which item?" to the Contact Us Page

I know little bit of php & html but is there a code that you can give me to use it and on which files?

13 Dec 2012, 10:47 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Adding an Input Field for "which item?" to the Contact Us Page

Have a look at includes/templates/template_default/templates/tpl_contact_us_default.php

Make a copy of this file for your template

Zen-Venom Get Bitten