...

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



skomeha
10-18-2009, 09:03 PM
Hi,

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

please advise...

Thanks!

mlseim
10-18-2009, 10: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>
<td>
<label>
<input type="text" name="company_name" tabindex="1" />
</label>
</td>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum