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

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

    i am trying to edit this code to make the table longer and i don’t know where it is.
    <script type=”text/javascript”>
    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;

    <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 –>
    <th>Enter </th>
    <td align=”left”><input class=”newsletter-email” type=”email” name=”ne” size=”30″ required></td>

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



    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.