Home Forums Newsletter Plugin Support subscription form on subdomain, subscriber not added to list

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #19583
    Carla
    Participant

    Hello,

    I added a subscription form on a subdomain in a widget. It seems to be working fine, the right emails for confirmation and welcome are sent, however the subscriber is not added tot the list.

    Can you please help me with this?

    This is the code I put in the widget:

    <script type=”text/javascript”>
    //<![CDATA[
    if (typeof newsletter_check !== “function”) {
    window.newsletter_check = function (f) {
    var re = /^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-]{1,})+\.)+([a-zA-Z0-9]{2,})+$/;
    if (!re.test(f.elements[“ne”].value)) {
    alert(“Het e-mailadres in onjuist”);
    return false;
    }
    if (f.elements[“nn”] && (f.elements[“nn”].value == “” || f.elements[“nn”].value == f.elements[“nn”].defaultValue)) {
    alert(“Je naam is niet correct”);
    return false;
    }
    for (var i=1; i<20; i++) {
    if (f.elements[“np” + i] && f.elements[“np” + i].required && f.elements[“np” + i].value == “”) {
    alert(“”);
    return false;
    }
    }
    if (f.elements[“ny”] && !f.elements[“ny”].checked) {
    alert(“You must accept the privacy statement”);
    return false;
    }
    return true;
    }
    }
    //]]>
    </script>

    <div class=”newsletter newsletter-subscription”>
    <form method=”post” action=”http://innerlijkefocus.nl/?na=s&#8221; onsubmit=”return newsletter_check(this)”>

    <table cellspacing=”0″ cellpadding=”3″ border=”0″>

    <!– first name –>
    <tr>

    <td><input class=”newsletter-firstname” type=”text” name=”nn” placeholder=”Voornaam” size=”20″required></td>
    </tr>

    <!– email –>
    <tr>

    <td align=”left”><input class=”newsletter-email” type=”email” name=”ne” placeholder=”E-mailadres” size=”20″ required></td>
    </tr>

    <tr>
    <td colspan=”1″ class=”newsletter-td-submit”>
    <input class=”newsletter-submit” type=”submit” value=”ik schrijf me in!”/>
    </td>
    </tr>

    </table>
    </form>
    </div>

    #19603
    Stefano
    Keymaster

    You should fine the subscribers on this site innerlijkefocus.nl. The subscriber statistics panel report an empty database?

    #19613
    Carla
    Participant

    Dear Stefano,

    Thank you for your reply. The list is indeed on innerlijkefocus.nl, it is an existing list. But the subscribers on the subdomain (academie.innerlijkefocus.nl) are not added to that list. Nor any other list on innerlijkefocus.nl. When entering an existing subscribers emailadres on the subdomain, it also does not say that it already is on the list (as it normaly does). So somehow it is not connected to the list, I think.

    Do you know what is going wrong?

    Kind regards,
    Carla

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.