reCaptcha & iContact
-
I have installed the WP-reCaptcha plug-in and Contact Form 7 with the reCaptcha extension plug-in and they work great for adding the reCaptcha to my contact form. I would also like to add the reCaptcha to another form, the code for which is supplied by iContact. iContact does not support reCpatcha, so I can’t get help from them. I’m a newbie when it comes to writing code and generally limited to cut and paste solutions (*groan*, I know). Any ideas?
The code I’m working with looks like this:
<style>
.link,
.link a,
.signupframe
{
color: #226699;
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
}
.link,
.link a {
text-decoration: none;
}
.signupframe {
border: 1px solid #000000;
background: #ffffff;
}
.signupframe .required {
font-size: 10px;
}
</style>
<form method=”post” action=”https://app.icontact.com/icp/signup.php” name=”icpsignup” id=”icpsignup3060″ accept-charset=”UTF-8″ onsubmit=”return verifyRequired3060();” >
<input type=”hidden” name=”redirect” value=”https:///www.apprenticetochiron.com/subscription-success/”>
<input type=”hidden” name=”errorredirect” value=”https://www.apprenticetochiron.com/subscription-failure/ ?”><div id=”SignUp”>
<table width=”260″ class=”signupframe” border=”0″ cellspacing=”0″ cellpadding=”5″>
<tr>
<td valign=”top” align=”right”>
<span class=”required”>*</span>?Email
</td>
<td align=”left”>
<input type=”text” name=”fields_email”>
</td>
</tr>
<tr>
<td valign=”top” align=”right”>
<span class=”required”>*</span>?First Name
</td>
<td align=”left”>
<input type=”text” name=”fields_fname”>
</td>
</tr>
<tr>
<td valign=”top” align=”right”>
<span class=”required”>*</span>?Last Name
</td>
<td align=”left”>
<input type=”text” name=”fields_lname”>
</td>
</tr>
<tr>
<td valign=”top” align=”right”>
?City
</td>
<td align=”left”>
<input type=”text” name=”fields_city”>
</td>
</tr>
<tr>
<td valign=”top” align=”right”>
?State
</td>
<td align=”left”>
<input type=”text” name=”fields_state”>
</td>
</tr>
<tr>
<td valign=”top” align=”right”>
?Astrology
</td>
<td align=”left”>
<input type=”checkbox” id=”fields_astrology” name=”fields_astrology”> <label for=”fields_astrology”></label>
</td>
</tr>
<tr>
<td valign=”top” align=”right”>
?Massage
</td>
<td align=”left”>
<input type=”checkbox” id=”fields_massage” name=”fields_massage”> <label for=”fields_massage”></label>
</td>
</tr>
<input type=”hidden” name=”listid” value=”4275″>
<input type=”hidden” name=”specialid:4275″ value=”OLC5″><input type=”hidden” name=”clientid” value=”1206036″>
<input type=”hidden” name=”formid” value=”3060″>
<input type=”hidden” name=”reallistid” value=”1″>
<input type=”hidden” name=”doubleopt” value=”1″>
<tr>
<td>?</td>
<td><span class=”required”>*</span> = Required Field</td>
</tr>
<tr>
<td>?</td>
<td><input type=”submit” name=”Submit” value=”Submit”></td>
</tr>
</table>
</div>
</form>
<script type=”text/javascript”>var icpForm3060 = document.getElementById(‘icpsignup3060’);
if (document.location.protocol === “https:”)
icpForm3060.action = “https://app.icontact.com/icp/signup.php”;
function verifyRequired3060() {
if (icpForm3060[“fields_email”].value == “”) {
icpForm3060[“fields_email”].focus();
alert(“The Email field is required.”);
return false;
}
if (icpForm3060[“fields_fname”].value == “”) {
icpForm3060[“fields_fname”].focus();
alert(“The First Name field is required.”);
return false;
}
if (icpForm3060[“fields_lname”].value == “”) {
icpForm3060[“fields_lname”].focus();
alert(“The Last Name field is required.”);
return false;
}return true;
}
</script>
<span class=”link”>Email Marketing You Can Trust</span>
- The topic ‘reCaptcha & iContact’ is closed to new replies.