![]()  | 
	
	
		
 Add dropdown to Contact Us 
		
		
		
		Hey everyone :) 
	I am needing to add an additional question and dropdown box to the contact us page. I know how to delete fields, but wasn't sure what I needed to do to go about adding a dropdown box. It would be something like: Code: 
	Which of the following best describes you?Thanks in advance for any help :D  | 
	
		
 Version? 
	 | 
	
		
 Oh crap.  I don't have it in my sig since all these are client carts of different versions. 
	This one is: 3.5.10  | 
	
		
 No worries, I understand that :D  I can't guarantee this will work because I haven't done it, but it should.  Just backup first of course. 
	Open up /skin1/help/contactus.tpl Use code similar to this, substituting language, etc. and place it where in the html you want it to appear. Code: 
	<tr valign=middle>Only include these 2 lines if you want it mandatory: Code: 
	<font class=Star>*</font>If you want it mandatory open include/help.php and find: Code: 
	$fillerror = (empty($contact["firstname"]) || empty($contact["lastname"]) || empty($contact["email"]) || empty($contact["subject"]) || empty($contact["body"]));And replace with: Code: 
	$fillerror = (empty($contact["firstname"]) || empty($contact["lastname"]) || empty($contact["email"]) || empty($contact["subject"]) || empty($contact["body"]) || empty($contact["describeself"]));Open /skin1/mail/help_contactus.tpl Where you want the info to appear put (create language variables if you want): Described self as: {$contact.describeself}  | 
	
		
 Thanks Jon! 
	Worked perfectly!  | 
| All times are GMT -8. The time now is 02:00 AM. | 
	Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.