Solved

Form Captcha

Posted on 2011-09-27
8
371 Views
Last Modified: 2012-05-12
Can someone help me add a Captcha entry to my form.  I keep messing it up when I try.  Thanks
<!-- Additional script for info req. -->
<%@ Language=VBScript %>
<% Option Explicit %>
<%
	Response.Expires = 0
%>

<html>
<head>
<title>Solomon Institute Corporation - Dealer Information Request</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<!-- Additional script for info req. -->
<script ID="clientEventHandlersJS" LANGUAGE="javascript">

function imgSub_onclick()
{
	var nReturn = 0;

    if (document.reqinfo.primary_first_name_r.value.length == 0)
    {
        alert("Please enter your First Name, thank you.");
		document.reqinfo.primary_first_name_r.focus();
		document.reqinfo.primary_first_name_r.select();
        nReturn = -1;
    }

	if (nReturn == 0)
	{
		if (document.reqinfo.primary_last_name_r.value.length == 0)
		{
		    alert("Please enter your Last Name, thank you.");
			document.reqinfo.primary_last_name_r.focus();
			document.reqinfo.primary_last_name_r.select();
		    nReturn = -1;
		}
	}

	if (nReturn == 0)
	{
		if (document.reqinfo.primary_phone_r.value.length == 0)
		{
		    alert("Please enter your business telephone, thank you.");
			document.reqinfo.primary_phone_r.focus();
			document.reqinfo.primary_phone_r.select();
		    nReturn = -1;
		}
	}

	if (nReturn == 0)
	{	
		if (document.reqinfo.primary_email_r.value.length == 0)
		{
		    alert("Please enter your e-mail address, thank you.");
			document.reqinfo.primary_email_r.focus();
			document.reqinfo.primary_email_r.select();
		    nReturn = -1;
		}
	}

	if (nReturn == 0)
	{
		if (document.reqinfo.company_name_r.value.length == 0)
		{
		    alert("Please enter your company name, thank you.");
			document.reqinfo.company_name_r.focus();
			document.reqinfo.company_name_r.select();
		    nReturn = -1;
		}	
	}

	if (nReturn == 0)
	{
		if (document.reqinfo.company_address_r.value.length == 0)
		{
		    alert("Please enter your company address, thank you.");
			document.reqinfo.company_address_r.focus();
			document.reqinfo.company_address_r.select();
		    nReturn = -1;
		}
	}

	if (nReturn == 0)
	{
		if (document.reqinfo.company_city_r.value.length == 0)
		{
		    alert("Please enter your city, thank you.");
			document.reqinfo.company_city_r.focus();
			document.reqinfo.company_city_r.select();
		    nReturn = -1;
		}
	}

	if (nReturn == 0)
	{
		if (document.reqinfo.company_zip_r.value.length == 0)
		{
		    alert("Please enter your zip/postal code, thank you.");
			document.reqinfo.company_zip_r.focus();
			document.reqinfo.company_zip_r.select();
		    nReturn = -1;
		}
	}

	if (nReturn == 0)
	{
		if (document.reqinfo.company_country_r.value == 'XX')
		{
		    alert("Please select your country, thank you.");
			document.reqinfo.company_country_r.focus();

		    nReturn = -1;
		}
		else
		{
		    if (document.reqinfo.company_country_r.value == 'US')
		    {
				if (document.reqinfo.company_state_r.value == 'XX')
				{
				    alert("Please enter your state, thank you.");
					document.reqinfo.company_state_r.focus();
				    nReturn = -1
				}
			}
		}
	}

	if (nReturn == 0)
	{
		if (document.reqinfo.company_fax_r.value.length == 0)
		{
		    alert("Please enter your fax number, thank you.");
			document.reqinfo.company_fax_r.focus();
			document.reqinfo.company_fax_r.select();
		    nReturn = -1;
		}
	}

	if (nReturn == 0)
	{
		window.reqinfo.hidAction.value = "S";
		window.reqinfo.submit();
	}
}
</script>
<script LANGUAGE="JavaScript">
function SetFocus()
{
	document.reqinfo.primary_first_name_r.focus();
	document.reqinfo.primary_first_name_r.select();
}
</script>


<cfinclude template="../include/script_all.shtml">
<link href="../include/style.css" rel="stylesheet" type="text/css">

</head>


<body LANGUAGE="JavaScript" bgcolor="ffffff" text="000000" link="663300" vlink="660000" alink="660000" leftmargin="0" rightmargin="0" onLoad="MM_preloadImages('../images/01b1o.gif','../images/01b2o.gif','../images/01b3o.gif','../images/01b4o.gif','../images/01b5o.gif','../images/01b6o.gif','../images/01b7o.gif'); return SetFocus();">
<script language="JavaScript1.2">mmLoadMenus();</script>

<cfinclude template="../include/nav.shtml">


<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td width="165" valign="top"> 
      <table width="165" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td colspan="3" width="165" height="5"><img src="../images/lbtopcrve.jpg"></td>
	</tr>
        <tr> 
          <td width="10"></td>
		  <td width="150" background="../images/bgdotmain.jpg">
		  
		  <table align="right" width="138" border="0" cellpadding="0" cellspacing="0">
		   	<tr>
				<td height="32" valign="top" colspan="2"><a href="default.cfm"><img src="../images/mtdeal.gif" border="0"></a></td>
			</tr>
			<tr>
				<td width="10">&nbsp;</td>
				<td><a style="text-decoration:none" href="infor.cfm"><font size="2" face="Arial, sans-serif" color="ffffff">Information 
                  Request </font></a></td>
			</tr>
			<tr>
				<td colspan="2"><img src="../images/ulmenu.gif" hspace="15"></td>
			</tr>
			<tr>
				<td width="10">&nbsp;</td>
				<td><a style="text-decoration:none" href="login.cfm"><font size="2" face="Arial, sans-serif" color="ebdf92">Dealer 
                  Login </font></a></td>
			</tr>
			<tr>
				<td colspan="2"><img src="../images/ulmenu.gif" hspace="15"></td>
			</tr>
		   </table>
		   
		   </td>
		  <td width="5"></td>
	  </tr>
	  <tr>
   		 <td colspan="3" valign="top"><img src="../images/lbbotfade.jpg"></td>
		</tr>
	</table>
	</td>
	<td rowspan="4">
	
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr>
          <td><font size="1" color="663300" face="Arial, sans-serif"><a style="text-decoration:none" href="../default.cfm">Home:</a> 
            <a style="text-decoration:none" href="default.cfm">Dealers:</a> Information Request</font></td>	
          <td align="right"><a style="text-decoration:none" href="../company/conta.cfm"><img src="../images/btncont.jpg" border="0"><font size="1" face="Arial, sans-serif"> 
            Contact Us &nbsp; &nbsp; &nbsp;</font></a></td>
		</tr>
        <tr>
          <td height="10" colspan="2"></td>
		</tr>
        <tr> 
          <td colspan="2" width="100%" valign="top">
		  
		  <!-- Begin content for info req. -->
<form method="post" id="reqinfo" name="reqinfo" action="send_req.asp" >
              <table align="center" width="96%" border="0" cellpadding="3" cellspacing="0">
                <tr> 
                  <td colspan="4"> <b><font size="2" face="Arial, sans-serif">Interested 
                    in becoming a Dealer? Start Here.</font></b> 
                    <p><font size="2" face="Arial, sans-serif" >Please 
                      take a few minutes to fill out our online questionnaire, 
                      indicating your interest in becoming a Solomon Dealer. Our 
                      team will review your profile information and give you a 
                      call back to discuss the program opportunities and how to 
                      join our program. <br>
                      Apply online today:</font></p>
                    <ol>
                      <li><font size="2" face="Arial, sans-serif" >Fill in your 
                        profile information below.</font> 
                      <li><font size="2" face="Arial, sans-serif" >We will review 
                        your information and give you a call back within five 
                        business days to discuss contract and program details.</font></li>
                    </ol>
                    <p><font size="2" face="Arial, sans-serif" >We appreciate 
                      your interest in becoming a Solomon Dealer.</font></p>
                    <p><font size="2" face="Arial, sans-serif" >An asterisk (*) 
                      indicates a required field.</font></p></td>
                </tr>
                <tr> 
                  <td   colspan="4"><font size="2" face="Arial, sans-serif" ><b>Primary 
                    Contact</b></font></td>
                </tr>
                <tr> 
                  <td align="right"><font size="2" face="Arial, sans-serif" >First 
                    Name *</font></td>
                  <td colspan="3"> <font size="2" face="Arial, sans-serif"> 
                    <input name="primary_first_name_r" size="30" maxlength="50" 
     >
                    </font></td>
                </tr>
                <tr> 
                  <td align="right"><font size="2" face="Arial, sans-serif" >Last 
                    Name *</font></td>
                  <td colspan="3"> <font size="2" face="Arial, sans-serif"> 
                    <input name="primary_last_name_r" size="30" maxlength="50" 
     >
                    </font></td>
                </tr>
                <tr> 
                  <td align="right"><font size="2" face="Arial, sans-serif" >Title</font></td>
                  <td colspan="3"> <font size="2" face="Arial, sans-serif"> 
                    <input name="primary_job_title" size="30" maxlength="50" 
     >
                    </font></td>
                </tr>
                <tr> 
                  <td align="right"><font size="2" face="Arial, sans-serif" >Business 
                    Phone *</font></td>
                  <td colspan="3"> <font size="2" face="Arial, sans-serif"> 
                    <input name="primary_phone_r" size="30" maxlength="50" 
     >
                    </font></td>
                </tr>
                <tr> 
                  <td align="right"><font size="2" face="Arial, sans-serif" >E-mail 
                    *</font></td>
                  <td colspan="3"> <font size="2" face="Arial, sans-serif"> 
                    <input name="primary_email_r" maxlength="30" 
     >
                    </font></td>
                </tr>
                <tr> 
                  <td colspan="4"><font size="2" face="Arial, sans-serif" ><b>Secondary 
                    Contact</b></font></td>
                </tr>
                <tr> 
                  <td align="right"><font size="2" face="Arial, sans-serif" >First 
                    Name</font></td>
                  <td colspan="3"> <font size="2" face="Arial, sans-serif"> 
                    <input name="secondary_first_name" size="30" maxlength="50" 
     >
                    </font></td>
                </tr>
                <tr> 
                  <td align="right"><font size="2" face="Arial, sans-serif" >Last 
                    Name</font></td>
                  <td colspan="3"> <font size="2" face="Arial, sans-serif"> 
                    <input name="secondary_last_name" size="30" maxlength="50" 
     >
                    </font></td>
                </tr>
                <tr> 
                  <td align="right"><font size="2" face="Arial, sans-serif" >Title</font></td>
                  <td colspan="3"> <font size="2" face="Arial, sans-serif"> 
                    <input name="secondary_job_title" size="30" maxlength="50" 
     >
                    </font></td>
                </tr>
                <tr> 
                  <td align="right"><font size="2" face="Arial, sans-serif" >Business 
                    Phone</font></td>
                  <td colspan="3"> <font size="2" face="Arial, sans-serif"> 
                    <input name="secondary_phone" size="30" maxlength="50" 
     >
                    </font></td>
                </tr>
                <tr> 
                  <td align="right"><font size="2" face="Arial, sans-serif" >E-mail</font></td>
                  <td colspan="3"> <font size="2" face="Arial, sans-serif"> 
                    <input name="secondary_email" maxlength="30" 
     >
                    </font></td>
                </tr>
                <tr> 
                  <td   colspan="4"><font size="2" face="Arial, sans-serif" ><b>Company</b></font></td>
                </tr>
                <tr> 
                  <td align="right"><font size="2" face="Arial, sans-serif" >Company 
                    Name *</font></td>
                  <td colspan="3"> <font size="2" face="Arial, sans-serif"> 
                    <input name="company_name_r" size="30" maxlength="50" 
     >
                    </font></td>
                </tr>
                <tr> 
                  <td align="right"><font size="2" face="Arial, sans-serif" >Company 
                    Address *<br>
                    (Please no P.O. Boxes)</font></td>
                  <td colspan="3"> <font size="2" face="Arial, sans-serif"> 
                    <input name="company_address_r" size="30" maxlength="50" 
     >
                    </font></td>
                </tr>
                <tr> 
                  <td align="right"><font size="2" face="Arial, sans-serif" >City 
                    *</font></td>
                  <td colspan="3"> <font size="2" face="Arial, sans-serif"> 
                    <input name="company_city_r" size="30" maxlength="50" 
     >
                    </font></td>
                </tr>
                <tr> 
                  <td align="right"><font size="2" face="Arial, sans-serif" >State 
                    *</font></td>
                  <td colspan="3"> <font size="2" face="Arial, sans-serif"> 
                    <select name="company_state_r">
                      <option value="XX" selected 
       ></option>
                      <option value="AK">AK</option>
                      <option value="AL">AL</option>
                      <option value="AR">AR</option>
                      <option value="AZ">AZ</option>
                      <option value="CA">CA</option>
                      <option value="CO">CO</option>
                      <option value="CT">CT</option>
                      <option value="DE">DE</option>
                      <option value="DC">DC</option>
                      <option value="FL">FL</option>
                      <option value="GA">GA</option>
                      <option value="HI">HI</option>
                      <option value="ID">ID</option>
                      <option value="IL">IL</option>
                      <option value="IN">IN</option>
                      <option value="IA">IA</option>
                      <option value="KS">KS</option>
                      <option value="KY">KY</option>
                      <option value="LA">LA</option>
                      <option value="ME">ME</option>
                      <option value="MD">MD</option>
                      <option value="MA">MA</option>
                      <option value="MI">MI</option>
                      <option value="MN">MN</option>
                      <option value="MS">MS</option>
                      <option value="MO">MO</option>
                      <option value="MT">MT</option>
                      <option value="NE">NE</option>
                      <option value="NV">NV</option>
                      <option value="NH">NH</option>
                      <option value="NJ">NJ</option>
                      <option value="NM">NM</option>
                      <option value="NY">NY</option>
                      <option value="NC">NC</option>
                      <option value="ND">ND</option>
                      <option value="OH">OH</option>
                      <option value="OK">OK</option>
                      <option value="OR">OR</option>
                      <option value="PA">PA</option>
                      <option value="RI">RI</option>
                      <option value="SC">SC</option>
                      <option value="SD">SD</option>
                      <option value="TN">TN</option>
                      <option value="TX">TX</option>
                      <option value="UT">UT</option>
                      <option value="VT">VT</option>
                      <option value="VA">VA</option>
                      <option value="WA">WA</option>
                      <option value="WV">WV</option>
                      <option value="WI">WI</option>
                      <option value="WY">WY</option>
                    </select>
                    </font></td>
                </tr>
                <tr> 
                  <td align="right"><font size="2" face="Arial, sans-serif" >Zip 
                    *</font></td>
                  <td colspan="3"> <font size="2" face="Arial, sans-serif"> 
                    <input name="company_zip_r" size="30" maxlength="30" 
     >
                    </font></td>
                </tr>
                <tr> 
                  <td align="right"><font size="2" face="Arial, sans-serif" >Country 
                    *</font></td>
                  <td colspan="3"> <font size="2" face="Arial, sans-serif"> 
                    <select name="company_country_r">
                      <option value="XX" selected 
       ></option>
                      <option value="US">United States</option>
                      <option value="AF" >Afghanistan</option>
                      <option value="AL" >Albania</option>
                      <option value="DZ" >Algeria</option>
                      <option value="AD" >Andorra</option>
                      <option value="AO" >Angola</option>
                      <option value="AI" >Anguilla</option>
                      <option value="AQ" >Antarctica</option>
                      <option value="AG" >Antigua and Barbuda</option>
                      <option value="AR" >Argentina</option>
                      <option value="AM" >Armenia</option>
                      <option value="AW" >Aruba</option>
                      <option value="AU" >Australia</option>
                      <option value="AT" >Austria</option>
                      <option value="AZ" >Azerbaijan</option>
                      <option value="BS" >Bahamas</option>
                      <option value="BH" >Bahrain</option>
                      <option value="BD" >Bangladesh</option>
                      <option value="BB" >Barbados</option>
                      <option value="BY" >Belarus</option>
                      <option value="BE" >Belgium</option>
                      <option value="BZ" >Belize</option>
                      <option value="BJ" >Benin</option>
                      <option value="BM" >Bermuda</option>
                      <option value="BT" >Bhutan</option>
                      <option value="BO" >Bolivia</option>
                      <option value="BA" >Bosnia and Herzegowina</option>
                      <option value="BW" >Botswana</option>
                      <option value="BV" >Bouvet Island</option>
                      <option value="BR" >Brazil</option>
                      <option value="IO" >British Indian Ocean Territory</option>
                      <option value="BN" >Brunei Darussalam</option>
                      <option value="BG" >Bulgaria</option>
                      <option value="BF" >Burkina Faso</option>
                      <option value="BI" >Burundi</option>
                      <option value="KH" >Cambodia</option>
                      <option value="CM" >Cameroon</option>
                      <option value="CA" >Canada</option>
                      <option value="CV" >Cape Verde</option>
                      <option value="KY" >Cayman Islands</option>
                      <option value="CF" >Central African Republic</option>
                      <option value="TD" >Chad</option>
                      <option value="CL" >Chile</option>
                      <option value="CN" >China</option>
                      <option value="CX" >Christmas Island</option>
                      <option value="CC" >Cocos (Keeling) Islands</option>
                      <option value="CO" >Colombia</option>
                      <option value="KM" >Comoros</option>
                      <option value="CG" >Congo</option>
                      <option value="CK" >Cook Islands</option>
                      <option value="CR" >Costa Rica</option>
                      <option value="CI" >Cote D'Ivoire</option>
                      <option value="HR" >Croatia (local name: Hrvatska)</option>
                      <option value="CU" >Cuba</option>
                      <option value="CY" >Cyprus</option>
                      <option value="CZ" >Czech Republic</option>
                      <option value="DK" >Denmark</option>
                      <option value="DJ" >Djibouti</option>
                      <option value="DM" >Dominica</option>
                      <option value="DO" >Dominican Republic</option>
                      <option value="TP" >East Timor</option>
                      <option value="EC" >Ecuador</option>
                      <option value="EG" >Egypt</option>
                      <option value="SV" >El Salvador</option>
                      <option value="GQ" >Equatorial Guinea</option>
                      <option value="ER" >Eritrea</option>
                      <option value="EE" >Estonia</option>
                      <option value="ET" >Ethiopia</option>
                      <option value="FK" >Falkland Islands (Malvinas)</option>
                      <option value="FO" >Faroe Islands</option>
                      <option value="FJ" >Fiji</option>
                      <option value="FI" >Finland</option>
                      <option value="FR" >France</option>
                      <option value="FX" >France, Metropolitan</option>
                      <option value="GF" >French Guiana</option>
                      <option value="PF" >French Polynesia</option>
                      <option value="TF" >French Southern Territories</option>
                      <option value="GA" >Gabon</option>
                      <option value="GM" >Gambia</option>
                      <option value="GE" >Georgia</option>
                      <option value="DE" >Germany</option>
                      <option value="GH" >Ghana</option>
                      <option value="GI" >Gibraltar</option>
                      <option value="GR" >Greece</option>
                      <option value="GL" >Greenland</option>
                      <option value="GD" >Grenada</option>
                      <option value="GP" >Guadeloupe</option>
                      <option value="GT" >Guatemala</option>
                      <option value="GN" >Guinea</option>
                      <option value="GW" >Guinea-Bissau</option>
                      <option value="GY" >Guyana</option>
                      <option value="HT" >Haiti</option>
                      <option value="HM" >Heard and Mc Donald Islands</option>
                      <option value="HN" >Honduras</option>
                      <option value="HK" >Hong Kong</option>
                      <option value="HU" >Hungary</option>
                      <option value="IS" >Iceland</option>
                      <option value="IN" >India</option>
                      <option value="ID" >Indonesia</option>
                      <option value="IR" >Iran (Islamic Republic of)</option>
                      <option value="IQ" >Iraq</option>
                      <option value="IE" >Ireland</option>
                      <option value="IL" >Israel</option>
                      <option value="IT" >Italy</option>
                      <option value="JM" >Jamaica</option>
                      <option value="JP" >Japan</option>
                      <option value="JO" >Jordan</option>
                      <option value="KZ" >Kazakhstan</option>
                      <option value="KE" >Kenya</option>
                      <option value="KI" >Kiribati</option>
                      <option value="KP" >Korea, Democratic People's Republic 
                      of</option>
                      <option value="KR" >Korea, Republic of</option>
                      <option value="KW" >Kuwait</option>
                      <option value="KG" >Kyrgyzstan</option>
                      <option value="LA" >Lao People's Democratic Republic</option>
                      <option value="LV" >Latvia</option>
                      <option value="LB" >Lebanon</option>
                      <option value="LS" >Lesotho</option>
                      <option value="LR" >Liberia</option>
                      <option value="LY" >Libyan Arab Jamahiriya</option>
                      <option value="LI" >Liechtenstein</option>
                      <option value="LT" >Lithuania</option>
                      <option value="LU" >Luxembourg</option>
                      <option value="MO" >Macau</option>
                      <option value="MK" >Macedonia, the former Yugoslav Republic 
                      of</option>
                      <option value="MG" >Madagascar</option>
                      <option value="MW" >Malawi</option>
                      <option value="MY" >Malaysia</option>
                      <option value="MV" >Maldives</option>
                      <option value="ML" >Mali</option>
                      <option value="MT" >Malta</option>
                      <option value="MQ" >Martinique</option>
                      <option value="MR" >Mauritania</option>
                      <option value="MU" >Mauritius</option>
                      <option value="YT" >Mayotte</option>
                      <option value="MX" >Mexico</option>
                      <option value="MD" >Moldova, Republic of</option>
                      <option value="MC" >Monaco</option>
                      <option value="MN" >Mongolia</option>
                      <option value="MS" >Montserrat</option>
                      <option value="MA" >Morocco</option>
                      <option value="MZ" >Mozambique</option>
                      <option value="MM" >Myanmar</option>
                      <option value="NA" >Namibia</option>
                      <option value="NR" >Nauru</option>
                      <option value="NP" >Nepal</option>
                      <option value="NL" >Netherlands</option>
                      <option value="AN" >Netherlands Antilles</option>
                      <option value="NC" >New Caledonia</option>
                      <option value="NZ" >New Zealand</option>
                      <option value="NI" >Nicaragua</option>
                      <option value="NE" >Niger</option>
                      <option value="NG" >Nigeria</option>
                      <option value="NU" >Niue</option>
                      <option value="NF" >Norfolk Island</option>
                      <option value="NO" >Norway</option>
                      <option value="OM" >Oman</option>
                      <option value="PK" >Pakistan</option>
                      <option value="PA" >Panama</option>
                      <option value="PG" >Papua New Guinea</option>
                      <option value="PY" >Paraguay</option>
                      <option value="PE" >Peru</option>
                      <option value="PH" >Philippines</option>
                      <option value="PN" >Pitcairn</option>
                      <option value="PL" >Poland</option>
                      <option value="PT" >Portugal</option>
                      <option value="PR" >Puerto Rico</option>
                      <option value="QA" >Qatar</option>
                      <option value="RE" >Reunion</option>
                      <option value="RO" >Romania</option>
                      <option value="RU" >Russian Federation</option>
                      <option value="RW" >Rwanda</option>
                      <option value="KN" >Saint Kitts and Nevis</option>
                      <option value="LC" >Saint Lucia</option>
                      <option value="VC" >Saint Vincent and the Grenadines</option>
                      <option value="SM" >San Marino</option>
                      <option value="ST" >Sao Tome and Principe</option>
                      <option value="SA" >Saudi Arabia</option>
                      <option value="SN" >Senegal</option>
                      <option value="SC" >Seychelles</option>
                      <option value="SL" >Sierra Leone</option>
                      <option value="SG" >Singapore</option>
                      <option value="SK" >Slovakia (Slovak Republic)</option>
                      <option value="SI" >Slovenia</option>
                      <option value="SB" >Solomon Islands</option>
                      <option value="SO" >Somalia</option>
                      <option value="ZA" >South Africa</option>
                      <option value="ES" >Spain</option>
                      <option value="LK" >Sri Lanka</option>
                      <option value="SH" >St. Helena</option>
                      <option value="PM" >St. Pierre and Miquelon</option>
                      <option value="SD" >Sudan</option>
                      <option value="SR" >Suriname</option>
                      <option value="SJ" >Svalbard and Jan Mayen Islands</option>
                      <option value="SZ" >Swaziland</option>
                      <option value="SE" >Sweden</option>
                      <option value="CH" >Switzerland</option>
                      <option value="SY" >Syrian Arab Republic</option>
                      <option value="TW" >Taiwan</option>
                      <option value="TJ" >Tajikistan</option>
                      <option value="TZ" >Tanzania, United Republic of</option>
                      <option value="TH" >Thailand</option>
                      <option value="TG" >Togo</option>
                      <option value="TK" >Tokelau</option>
                      <option value="TO" >Tonga</option>
                      <option value="TT" >Trinidad and Tobago</option>
                      <option value="TN" >Tunisia</option>
                      <option value="TR" >Turkey</option>
                      <option value="TM" >Turkmenistan</option>
                      <option value="TC" >Turks and Caicos Islands</option>
                      <option value="TV" >Tuvalu</option>
                      <option value="UG" >Uganda</option>
                      <option value="UA" >Ukraine</option>
                      <option value="AE" >United Arab Emirates</option>
                      <option value="GB" >United Kingdom</option>
                      <option value="UY" >Uruguay</option>
                      <option value="UZ" >Uzbekistan</option>
                      <option value="VU" >Vanuatu</option>
                      <option value="VA" >Vatican City State (Holy See)</option>
                      <option value="VE" >Venezuela</option>
                      <option value="VN" >Vietnam</option>
                      <option value="VG" >Virgin Islands (British)</option>
                      <option value="WF" >Wallis And Futuna Islands</option>
                      <option value="EH" >Western Sahara</option>
                      <option value="YE" >Yemen</option>
                      <option value="YU" >Yugoslavia</option>
                      <option value="ZR" >Zaire</option>
                      <option value="ZM" >Zambia</option>
                      <option value="ZW" >Zimbabwe</option>
                    </select>
                    </font></td>
                </tr>
                <tr> 
                  <td align="right"><font size="2" face="Arial, sans-serif" >Company 
                    Web Site</font></td>
                  <td colspan="3"> <font size="2" face="Arial, sans-serif"> 
                    <input name="company_web_site" size="30" maxlength="50">
                    </font></td>
                </tr>
                <tr> 
                  <td align="right"><font size="2" face="Arial, sans-serif" >Fax 
                    *</font></td>
                  <td colspan="3"> <font size="2" face="Arial, sans-serif"> 
                    <input name="company_fax_r" maxlength="30" >
                    </font></td>
                </tr>
                <tr align="center"> 
                  <td colspan="4"><font size="2" face="Arial, sans-serif"><b>Comments</b></font></td>
                </tr>
                <tr align="center"> 
                  <td colspan="4" valign="top"> 
                    <TEXTAREA name=comments rows=6 cols=45></TEXTAREA>
                  </td>
                </tr>
                <tr align="center"> 
                  <td colspan="4"> 
                    <input onClick="javascipt:imgSub_onclick();" TYPE="button" name="btnSubmit" value="Submit">
                  </td>
                </tr>
              </table>
	<input TYPE="hidden" NAME="hidAction" VALUE="O">
</form>
		  <!-- end content for info req. -->
		  
		  </td>
        </tr>
      </table>
	</td>
  </tr>

  <tr>
    <td></td>
  </tr>
</table>

	  
<cfinclude template="../include/copyright_all.shtml">


</td>
  </tr>
</table>
</body>
</html>

Open in new window

0
Comment
Question by:akbiro
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 16

Accepted Solution

by:
Gurpreet Singh Randhawa earned 125 total points
ID: 36714964
Hi try this Tute

there are many how to ad cfcaptcha to ur code

http://randhawaworld.com/?p=28
0
 
LVL 19

Assisted Solution

by:Bhavesh Shah
Bhavesh Shah earned 125 total points
ID: 36714980
Hi,

where is captcha code??

I like this one..

simple yet powerful.

http://www.bennadel.com/blog/873-Using-CAPTCHA-In-ColdFusion-8.htm

- Bhavesh
0
 
LVL 16

Expert Comment

by:Gurpreet Singh Randhawa
ID: 36715000
Hi Bhavesh, The one you gave "yes" i agree is quite simple to implement

but he seems to make it bit tricky, then he can use mine

good luck
0
MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

 
LVL 29

Assisted Solution

by:Pravin Asar
Pravin Asar earned 125 total points
ID: 36716826
If you like, look at this one.

http://www.javascriptjournal.com/tutorials/captcha.html

With each failed attempt, the captcha string much difficult.

Feel free to copy the code, [as this site belongs to me]

Have questions, let me know.

 
0
 
LVL 39

Assisted Solution

by:gdemaria
gdemaria earned 125 total points
ID: 36716901
> With each failed attempt, the captcha string much difficult.

I thought this sounded interested, but I have entered incorrect captcha codes and the string doesn't change; just the javascript alert saying the value entered is incorrect.  
0
 

Author Comment

by:akbiro
ID: 36716941
Ok...pravinasar...I think I can figure out how to insert that into this code.  I am not a Cold Fusion programer, strictly HTML, but I need to put something into the code to cut down on all the spam emails.  Thanks...I will work on it today.
0
 
LVL 16

Expert Comment

by:Gurpreet Singh Randhawa
ID: 36717032
ok, i ahve an article here in EE, which makes use of math to cut down the Spam no need for Captcha!

Check out this

http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/Cold_Fusion_Markup_Language/A_7311-Using-Math-to-Detect-and-Slow-Down-Spamming-Technique.html
0
 
LVL 29

Expert Comment

by:Pravin Asar
ID: 36719141
> With each failed attempt, the captcha string much difficult.


Sorry!. I was turned off.
I turned this one. {Basically it reinitializes the  captcha string}

function cmdSubmit(theForm)
{
  if (!ValidateCaptcha(theForm))
        {
        alert ("Please enter valid CAPTCHA Code.");

        // Reinit

        InitCaptcha();

        return false;
        }
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, I was working on some optimization and spam-stopping techniques when I encountered Ben Nadel's post to reduce spam feature using Math (http://www.bennadel.com/blog/197-How-I-Stop-Spammers-On-My-ColdFusion-Blog.htm). While this method is not o…
This is an updated version of a post made on my blog over 3 years ago. It is unfortunately, still very relevant as we continue to see both SQLi (SQL injection) and XSS (cross site scripting) attacks hitting some of the most recognizable website and …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question