For email marketing we use icontact - who give us the signup code which includes javascript and I have been unable to get this to work in chronoforms. They offer you two choices of code, the standard copy & paste and custom so you can change the layout (which I used).
What I'm wanting to do is place this signup form (which is email field only) in the top module here: www.travelcafe.co.nz where the member sign in currently is. I'd also like to be able to use a custom button if possible?
To give you an idea... this is the code I end up with (after changing layout)
- Code: Select all
<style>
.signupframe {
border: 1px solid #FFFEFE;
background: #ffffff;
color: #226699;
font-family: Arial, Helvetica, sans-serif;
}
</style>
<form method=post action="http://app.icontact.com/icp/signup.php" name="icpsignup" accept-charset="UTF-8" onsubmit="return verifyRequired();" >
<input type=hidden name=redirect value="http://www.travelcafe.co.nz/index.php/Thanks.html" />
<input type=hidden name=errorredirect value="http://www.icontact.com/www/signup/error.html" />
<script language=javascript>
function verifyRequired() {
if (document.icpsignup["fields_email"].value == ""«») {
document.icpsignup["fields_email"].focus();
alert("The Email field is required."«»);
return false;
}
return true;
}
</script>
<div id="SignUp">
<table width="480" class="signupframe" border="0" cellspacing="0" cellpadding="5">
<tr>
<td width="226" align=right valign=top>
Breaking travel deals to your inbox </td>
<td width="234" align=left>
<input type=text name="fields_email">
<input type="submit" name="Submit" value="Sign me up!" /> </td>
</tr>
<input type=hidden name="listid" value="2677">
<input type=hidden name="specialid:2677" value="SWJE">
<input type=hidden name=clientid value="113347">
<input type=hidden name=formid value="613">
<input type=hidden name=reallistid value="1">
<input type=hidden name=doubleopt value="0">
</table>
</div>
</form>
Thanks,
Laurel<br><br>Post edited by: admin, at: 2007/11/29 00:06
