Subscription Custom Form not appearing
-
I’ve just downloaded the plugin, very useful and elegant, but I’m having an issue while customizing the subscription form.
I’ve copied the content from the List Building > Subscription > Form Code and put it under List Building > Subscription > Subscription Page Area > Text Editor, but its not applying any of the Custom CSS Class I’m implementing.
Kindly let me know, am I doing something wrong?
<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; } 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> <form action="https://www.mydomain.com/?na=s" method="post"> <table border="0" cellspacing="0" cellpadding="3"> <!-- email --> <tbody> <tr> <th>Email</th> <td align="left"> <input class="wpcf7-form-control wpcf7-text wpcf7-email wpcf7-validates-as-required wpcf7-validates-as-email" name="ne" required="" size="30" type="email" /> </td> </tr> <tr> <td> <input class="wpcf7-form-control wpcf7-submit" type="submit" value="" /> </td> </tr> </tbody> </table> </form> </div>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Subscription Custom Form not appearing’ is closed to new replies.