Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- 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.
- - Do not remove captcha and other form elements that are necessary for the form to work. -->
- <div id='crmWebToEntityForm' style='width:600px;margin:auto;'>
- <META HTTP-EQUIV ='content-type' CONTENT='text/html;charset=UTF-8'>
- <form action='https://crm.zoho.eu/crm/WebToLeadForm' name=WebToLeads87715000003842019 method='POST' onSubmit='javascript:document.charset="UTF-8"; return checkMandatory87715000003842019()' accept-charset='UTF-8'>
- <!-- Do not remove this code. -->
- <input type='text' style='display:none;' name='xnQsjsdp' value='60ac0ac0397c07c52d9395ae5b98b5979f36f00bcea2503db63edf207dab027e'/>
- <input type='hidden' name='zc_gad' id='zc_gad' value=''/>
- <input type='text' style='display:none;' name='xmIwtLD' value='279c70e500813ab734d77ea616ff494145d8e36a647e8a7e584f4d6718659caf'/>
- <input type='text' style='display:none;' name='actionType' value='TGVhZHM='/>
- <input type='text' style='display:none;' name='returnURL' value='https://acj.rolbac.org/thanks-for-message' />
- <!-- Do not remove this code. -->
- <style>
- tr , td {
- padding:6px;
- border-spacing:0px;
- border-width:0px;
- }
- </style>
- <table style='width:600px;background-color:white;color:black'>
- <tr><td colspan='2' style='text-align:left;color:black;font-family:Arial;font-size:14px;'><strong>ACJ Contact Form</strong></td></tr>
- <tr><td style='nowrap:nowrap;text-align:left;font-size:12px;font-family:Arial;width:200px;'>First Name</td><td style='width:250px;' ><input type='text' style='width:250px;' maxlength='40' name='First Name' /></td></tr>
- <tr><td style='nowrap:nowrap;text-align:left;font-size:12px;font-family:Arial;width:200px;'>Last 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;font-size:12px;font-family:Arial;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;font-size:12px;font-family:Arial;width:200px;'>Message </td><td> <textarea name='Description' maxlength='32000' style='width:250px;'> </textarea></td></tr>
- <tr style='display:none;' ><td style='nowrap:nowrap;text-align:left;font-size:12px;font-family:Arial;width:50%'>Lead Source</td><td style='width:250px;'>
- <select style='width:250px;' name='Lead Source'>
- <option value='-None-'>-None-</option>
- <option value='Advertisement'>Advertisement</option>
- <option value='Inbound Enquiry'>Inbound Enquiry</option>
- <option value='Cold Call'>Cold Call</option>
- <option value='Employee Referral'>Employee Referral</option>
- <option value='External Referral'>External Referral</option>
- <option value='Partner'>Partner</option>
- <option value='Public Relations'>Public Relations</option>
- <option value='Trade Show'>Trade Show</option>
- <option value='Web Form'>Web Form</option>
- <option value='Search Engine'>Search Engine</option>
- <option value='Facebook'>Facebook</option>
- <option value='Twitter'>Twitter</option>
- <option value='Online Store'>Online Store</option>
- <option value='Seminar Partner'>Seminar Partner</option>
- <option value='Web Download'>Web Download</option>
- <option value='LB Database'>LB Database</option>
- <option selected value='ACJ Webform'>ACJ Webform</option>
- </select></td></tr>
- <tr><td style='nowrap:nowrap;text-align:left;font-size:12px;font-family:Arial;width:200px;'>Enter the Captcha</td>
- <td><input type='text' style='width:250px;' maxlength='80' name='enterdigest' /></td>
- </tr>
- <tr><td></td>
- <!-- Do not remove this code. -->
- <td><img id='imgid' src='https://crm.zoho.eu/crm/CaptchaServlet?formId=279c70e500813ab734d77ea616ff494145d8e36a647e8a7e584f4d6718659caf&grpid=60ac0ac0397c07c52d9395ae5b98b5979f36f00bcea2503db63edf207dab027e'>
- <a href='javascript:;' onclick='reloadImg()'>Reload</a></td>
- </tr>
- <tr><td colspan='2' style='text-align:center; padding-top:15px;font-size:12px;'>
- <input style='font-size:12px;color:black' type='submit' value='Submit' />
- <input type='reset' style='font-size:12px;color:black' value='Reset' />
- </td>
- </tr>
- </table>
- <script>
- var mndFileds=new Array('Last Name','Email');
- var fldLangVal=new Array('Last Name','Email');
- var name='';
- var email='';
- /* Do not remove this code. */
- function reloadImg() {
- if(document.getElementById('imgid').src.indexOf('&d') !== -1 ) {
- document.getElementById('imgid').src=document.getElementById('imgid').src.substring(0,document.getElementById('imgid').src.indexOf('&d'))+'&d'+new Date().getTime();
- } else {
- document.getElementById('imgid').src = document.getElementById('imgid').src+'&d'+new Date().getTime();
- }
- }
- function checkMandatory87715000003842019() {
- for(i=0;i<mndFileds.length;i++) {
- var fieldObj=document.forms['WebToLeads87715000003842019'][mndFileds[i]];
- 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[i] +' cannot be empty');
- fieldObj.focus();
- return false;
- } else if(fieldObj.nodeName=='SELECT') {
- if(fieldObj.options[fieldObj.selectedIndex].value=='-None-') {
- alert(fldLangVal[i] +' cannot be none');
- fieldObj.focus();
- return false;
- }
- } else if(fieldObj.type =='checkbox'){
- if(fieldObj.checked == false){
- alert('Please accept '+fldLangVal[i]);
- fieldObj.focus();
- return false;
- }
- }
- try {
- if(fieldObj.name == 'Last Name') {
- name = fieldObj.value;
- }
- } catch (e) {}
- }
- }
- }
- </script>
- </form>
- <!-- Do not remove this code. -->
- <iframe name='captchaFrame' style='display:none;'></iframe>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment