Constant contact sign up form in phatform

Corinne
2010-08-20
2013-05-20
  • Corinne
    Corinne
    2010-08-20

    Hi,

    I'm using phpws 1.6.3. Would have posted this on phpwsforums.com, but they are shutting down the forum and don't know where else to go for help. I can't even post on there anymore:(

    My issue:
    I tried inserting constant contact sign up form code on the thank you page after someone submits a form using phatform by placing the code in the Setting Section, Submission Message. What is happening is that when someone fills out the form and clicks on the submit button, rather than being directed to the thank you message, they are being directed to the login page.

    I even tried adding the code to the templates/phatform/form/thanks.tpl page to see if that would work. Still not working correctly.

    Here is the code I inserted:
    <table cellspacing="0" cellpadding="3" border="0" bgcolor="#ffffff" style="border: 2px solid rgb(0, 0, 0);">
        <tbody>
            <tr>
                <td align="center" style="font-weight: bold; font-family: Trebuchet MS; font-size: 12px; color: rgb(0, 0, 0);">Join Our Mailing List</td>
            </tr>
            <tr>
                <td align="center" style="border-top: 2px solid rgb(0, 0, 0);">
                <form name="ccoptin" action="http://visitor.constantcontact.com/d.jsp" target="_blank" method="post" style="margin-bottom: 2px;">
                    <input type="hidden" name="m" value="1101908571512" />  <input type="hidden" name="p" value="oi" />  <font style="font-weight: normal; font-family: Trebuchet MS; font-size: 12px; color: rgb(0, 0, 0);">Email:</font> <input type="text" name="ea" size="20" value="" style="font-size: 10pt; border: 1px solid rgb(153, 153, 153);" />  <input type="submit" name="go" value="Go" class="submit" style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; font-size: 10pt;" />

                </form>
                </td>
            </tr>
        </tbody>
    </table>
    </div>
    <!- END: Constant Contact Basic Opt-in Email List Form ->  <!- BEGIN: SafeSubscribe ->
    <div align="center" style="padding-top: 5px;"><a href="http://www.constantcontact.com/safesubscribe.jsp" target="_blank"><img height="14" border="0" width="168" src="https://imgssl.constantcontact.com/ui/images1/safe_subscribe_logo.gif" alt="" /></a></div>
    <!- END: SafeSubscribe ->    <!- BEGIN: Email Marketing you can trust ->
    <div align="center" style="font-family: Arial,Helvetica,sans-serif; font-size: 10px; color: rgb(153, 153, 153);">For <a href="http://www.constantcontact.com/jmml/email-marketing.jsp" style="text-decoration: none; font-family: Arial,Helvetica,sans-serif; font-size: 10px; color: rgb(153, 153, 153);" target="_blank">Email Marketing</a> you can trust</div>

    <!- END: Email Marketing you can trust ->

    I have to find a work around for this problem very quickly as this site is going live Sept 1.