Advertising Inquiries

Status
Not open for further replies.

admin

Administrator
<!-- Note :
- You can modify the font style and form style to suit your website.
- Code lines with comments ���Do not remove this code��� are required for the form to work properly, make sure that you do not remove these lines of code.
- The Mandatory check script can modified as to suit your business needs.
- It is important that you test the modified form before going live.-->
<div id='crmWebToEntityForm' margin:auto;'>
<META HTTP-EQUIV ='content-type' CONTENT='text/html;charset=UTF-8'>
<form action='https://crm.zoho.com/crm/WebToLeadForm' name=WebToLeads2502642000000169001 method='POST' onSubmit='javascript:document.charset="UTF-8"; return checkMandatory()' accept-charset='UTF-8'>

<!-- Do not remove this code. -->
<input type='text' style='display:none;' name='xnQsjsdp' value='a321a3fd135ae3e4fb86950ceb2040fef6c6271d0073bbb9d5d8979631781903'/>
<input type='hidden' name='zc_gad' id='zc_gad' value=''/>
<input type='text' style='display:none;' name='xmIwtLD' value='bf03efd181f58e9198e0632678b709cf5d7740c12af24d4c9782c77227db2571'/>
<input type='text' style='display:none;' name='actionType' value='TGVhZHM='/>

<input type='text' style='display:none;' name='returnURL' value='http://www.toyota-4runner.org' />
<!-- Do not remove this code. -->
<style>
tr , td {
padding:6px;
border-spacing:0px;
border-width:0px;
}</style><table>
<tr><td colspan='2' style='text-align:left;color:black;font-size:14px;'><strong>Advertising Inquiry</strong></td></tr>

<tr><td style='nowrap:nowrap;text-align:left;width:200px;'>Company<span style='color:red;'>*</span></td><td style='width:250px;' ><input type='text' style='width:250px;' maxlength='100' name='Company' /></td></tr>

<tr><td style='nowrap:nowrap;text-align:left;width:200px;'>Name<span style='color:red;'>*</span></td><td style='width:250px;' ><input type='text' style='width:250px;' maxlength='80' name='Last Name' /></td></tr>

<tr><td style='nowrap:nowrap;text-align:left;width:200px;'>Email<span style='color:red;'>*</span></td><td style='width:250px;' ><input type='text' style='width:250px;' maxlength='100' name='Email' /></td></tr>

<tr><td style='nowrap:nowrap;text-align:left;width:200px;'>Your Message<span style='color:red;'>*</span> </td><td> <textarea name='Description' maxlength='32000' style='width:250px;'> </textarea></td></tr>

<tr><td colspan='2' style='text-align:center; padding-top:15px;'>
<input style='font-size:12px;color:#131307' type='submit' value='Submit' />
<input type='reset' style='font-size:12px;color:#131307' value='Reset' />
</td>
</tr>
</table>
<script>
var mndFileds=new Array('Company','Last Name','Email','Description');
var fldLangVal=new Array('Company','Name','Email','Your Message');
var name='';
var email='';

function checkMandatory() {
for(i=0;i<mndFileds.length;i++) {
var fieldObj=document.forms['WebToLeads2502642000000169001'][mndFileds];
if(fieldObj) {
if (((fieldObj.value).replace(/^\s+|\s+$/g, '')).length==0) {
if(fieldObj.type =='file')
{
alert('Please select a file to upload.');
fieldObj.focus();
return false;
}
alert(fldLangVal +' cannot be empty.');
fieldObj.focus();
return false;
} else if(fieldObj.nodeName=='SELECT') {
if(fieldObj.options[fieldObj.selectedIndex].value=='-None-') {
alert(fldLangVal +' cannot be none.');
fieldObj.focus();
return false;
}
} else if(fieldObj.type =='checkbox'){
if(fieldObj.checked == false){
alert('Please accept '+fldLangVal);
fieldObj.focus();
return false;
}
}
try {
if(fieldObj.name == 'Last Name') {
name = fieldObj.value;
}
} catch (e) {}
}
}
}

</script>
</form>
</div>
 
Register to hide this ad
Status
Not open for further replies.

Members online

No members online now.

Forum statistics

Threads
278,312
Messages
3,554,083
Members
248,016
Latest member
Advally Service

Trending content

Back
Top