Change Action URL
-
I’m trying to using contact form 7 to integrate with Zoho CRM. I realized that the code generated by Zoho is a normal form with special action only.
Here is the code:
<div id=’crmWebToEntityForm’ align=’center’><META HTTP-EQUIV =’content-type’ CONTENT=’text/html;charset = UTF-8′> <form action=’https://crm.zoho.com/crm/WebToLeadForm’ name=WebToLeads0000609000000072001 method=’POST’ onSubmit=’javascript:document.charset=”UTF-8″; return checkMandatery()’ accept-charset=’UTF-8′> <input type=’text’ style=’display:none;’ name=’xnQsjsdp’ value=’sknx67kshB9thYo@kRl79w$$’/> <input type=’hidden’ name=’zc_gad’ id=’zc_gad’ value=”/> <input type=’text’ style=’display:none;’ name=’xmIwtLD’ value=’3R8xnU-aJHZyZ3geGYDCbojTZJtZADoI’/> <input type=’text’ style=’display:none;’ name=’actionType’ value=’TGVhZHM=’/> <input type=’text’ style=’display:none;’ name=’returnURL’ value=” /> <table border=0 cellspacing=0 cellpadding=’6′ width=600 style=’background-color:white;color:black’><tr><td colspan=’2′ align=’left’ style=’color:black;font-family:Arial;font-size:14px;’>RenoKing</td></tr> <tr><td nowrap=’nowrap’ align=’left’ style=’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’ /></div> </td></tr><tr><td nowrap=’nowrap’ align=’left’ style=’font-size:12px;font-family:Arial;width:200px;’>Email </td><td style=’width:250px;’ ><input type=’text’ style=’width:250px;’ maxlength=’100′ name=’Email’ /></div> </td></tr><tr><td nowrap=’nowrap’ align=’left’ style=’font-size:12px;font-family:Arial;width:200px;’>Mobile </td><td style=’width:250px;’ ><input type=’text’ style=’width:250px;’ maxlength=’30’ name=’Mobile’ /></div> </td></tr><tr><td nowrap=’nowrap’ align=’left’ style=’font-size:12px;font-family:Arial;width:200px;’>State<span style=’color:red;’>*</span> </td><td style=’width:250px;’ ><input type=’text’ style=’width:250px;’ maxlength=’30’ name=’State’ /></div> </td></tr><tr><td nowrap=’nowrap’ align=’left’ style=’font-size:12px;font-family:Arial;width:200px;’>Description </td><td style=’width:250px;’ > <textarea style=’width:250px;’ name=’Description’ maxlength=’1000′ width=’250′ height=’250′></textarea></td></tr><tr><td colspan=’2′ align=’center’ style=’padding-top: 15px;’ ><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’,’State’);var fldLangVal=new Array(‘Last Name’,’State’);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 checkMandatery(){for(i=0;i<mndFileds.length;i++){ var fieldObj=document.forms[‘WebToLeads1127609000000072001′][mndFileds[i]];if(fieldObj) {if(((fieldObj.value).replace(/^\s+|\s+$/g, ”)).length==0){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;}}}}}</script> </form></div>
I was searching for a solution for some time, but I couldn’t find it.
Can anyone help point me to the right direction?
- The topic ‘Change Action URL’ is closed to new replies.