Campaign Monitor

lw_d 24 Jul, 2008
Hi all,

I am using campaign monitor (http://campaignmonitor.com/) to allow users to sign up to my newsletter, CA provide a form similar to the following:
<form action="#" method="post">
<p><label for="name">Name:</label><br /><input type="text" name="name" id="name" /></p>
<p><label for="l378940">Email:</label><input type="text" name="cm-378940" id="l378940" /></p>
<p><input type="submit" class="button2"/></p>
</form>
If a user leaves out either their name or email, then CA directs them to a page on their server, letting them know they need to go back and add.

What I thought would be a good idea would be to use ChronoForm to validate the details before submitting, that way they never leave my site.

I am using the mootools validation for my contact form, can I just add the above form into ChronoForm?

Thanks
GreyHead 24 Jul, 2008
Hi lw_d,

Should be straightforward, leave out the form tags, add the validation and use the OnSubmit url to return to Campaign Monitor.

Bob
lw_d 24 Jul, 2008
Hi Bob,

What do you mean by leave the form elements out?

Sorry for the dumb question🙂

Thanks
Lee
GreyHead 24 Jul, 2008
Hi Lee,

Just leave out the <form . . .> and </form> tags - ChronoForms adds its own.

Bob
lw_d 24 Jul, 2008
Arrghh, got you... excellent.

Thanks,
This topic is locked and no more replies can be posted.