View Single Post
  #2  
Old 03-26-2007, 02:49 PM
 
lachild lachild is offline
 

Advanced Member
  
Join Date: May 2006
Posts: 92
 

Default Re: Contact us subject field not required, hidden

Sure you can... In 4.0.x here's what you need to do.

Locate the following in /skiln1/help/contactus.tpl and remove:

Code:
<tr valign="middle"> <td class="FormButton">{$lng.lbl_subject}</td> <td><font class="Star">*</font></td> <td nowrap="nowrap"> <input type="text" id="subject" name="subject" size="32" maxlength="128" value="{$userinfo.subject}" /> {if $fillerror ne "" and $userinfo.subject eq ""}<font class="Star">&lt;&lt;</font>{/if} </td> </tr>

Then add somewhere in the form:

Code:
<input type="hidden" name="subject" value="Your Subject Goes Here">

Hope this helps.
__________________
Westin Shafer
Come Together Technologies
http://www.ComeTogetherTechnologies.com
Reply With Quote