Home Forums Newsletter Plugin Support how to edit the code for the subscription form

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10620
    kinga
    Participant

    i am trying to edit this code to make the table longer and i don’t know where it is.
    <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(“The email is not correct”);
    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://www.kingadowproductions.com/wp-content/plugins/newsletter/do/subscribe.php&#8221; onsubmit=”return newsletter_check(this)”>

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

    <!– email –>
    <tr>
    <th>Enter </th>
    <td align=”left”><input class=”newsletter-email” type=”email” name=”ne” size=”30″ required></td>
    </tr>

    <tr>
    <td colspan=”2″ class=”newsletter-td-submit”>
    <input class=”newsletter-submit” type=”submit” value=”Subscribe”/>
    </td>
    </tr>

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

    #10632
    Stefano
    Keymaster

    You can create a custom form (see the subscription panel and the form panel), store it as custom form and recall it with [newsletter form="x"], where “x” is the custom form number.

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