Support » Plugin: Newsletter » HTML form on external page not working

  • Resolved thetoolman123


    Hi there,

    I have added my HTML signup form on an index.html page in my main root WordPress directory, but the form is not adding emails to my database.

    This is the code I am using.

    <div class="tnp tnp-subscription">
    <form method="post" action="" onsubmit="return newsletter_check(this)">
    <input type="hidden" name="nlang" value="">
    <div class="tnp-field tnp-field-firstname"><label>First name or full name</label><input class="tnp-firstname" type="text" name="nn" ></div>
    <div class="tnp-field tnp-field-email"><label>Email</label><input class="tnp-email" type="email" name="ne" required></div>
    <div class="tnp-field tnp-field-privacy"><label><input type="checkbox" name="ny" required class="tnp-privacy"> By continuing, you accept the privacy policy</label></div>
    <div class="tnp-field tnp-field-button"><input class="tnp-submit" type="submit" value="Yes, keep me informed!" >

    Can anyone suggest what I have wrong?

    Many thanks!

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