View Full Version : How to remove mandatory field in my Contact Us

10-18-2009, 08:03 PM

I need to know how to remove the mandatory field for "Company Name" in my URL: http://belletel.com/contact.php

please advise...


10-18-2009, 09:30 PM
Put the part in red on this line (to "comment-out" the line so it won't get executed) ...

// if (form.company_name.value.trim() == "")StrError += "<span class='red'>- '<strong>Company name</strong>' is mandatory.</span><br>";

Then change this part (removing this: <span class="red">*</span> )

<td>Company Name</td>
<input type="text" name="company_name" tabindex="1" />

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum