Home › Forums › Newsletter Plugin Support › Need help with signup form for off-site – submitted ticket and sent email.
- This topic has 8 replies, 2 voices, and was last updated 8 years ago by
Stefano.
-
AuthorPosts
-
September 17, 2015 at 4:32 pm #17741
Dondrea Braun
ParticipantI filled out a ticket 2 days ago and sent an email yesterday – I know you’re probably incredibly busy, but I really need some help.
The form code I have isn’t working on external site. I tried the widget code provided – and the regular code. The error I’m getting is: ERROR: Sorry, there was an error. Please be sure JavaScript and Cookies are enabled in your browser and try again.
(i have the form on http://www.alternativehealingacademy.org/)
This is one of the form codes you provide in the plugin that I used:
<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[“nn”] && (f.elements[“nn”].value == “” || f.elements[“nn”].value == f.elements[“nn”].defaultValue)) {
alert(“The name 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 class=”newsletter newsletter-subscription”>
<form method=”post” action=”http://www.natural-holistic-health.com/wp-content/plugins/newsletter/do/subscribe.php” onsubmit=”return newsletter_check(this)”><table cellspacing=”0″ cellpadding=”3″ border=”0″>
<!– first name –>
<tr>
<th>First Name</th>
<td><input class=”newsletter-firstname” type=”text” name=”nn” size=”30″required></td>
</tr><!– email –>
<tr>
<th>Email</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=”Send My Mini-Course!”/>
</td>
</tr></table>
</form>
</div>I have it on http://www.alternativehealingacademy.org/ – and i get the above error on multiple browsers. Please help
September 17, 2015 at 5:59 pm #17743Stefano
KeymasterHi, sorry, I missed you ticket (and still it seems not there, already asked to check for that). About your form, it is correct it’s your blog blocking the subscription. Have you a security plugin or like?
Bye, Stefano.
September 17, 2015 at 6:00 pm #17744Stefano
KeymasterThe message you see is not of WordPress apparently, so I’m supposing there is another plugin creating that issue.
September 17, 2015 at 6:13 pm #17745Dondrea Braun
ParticipantThere are no plugins on that site – it’s a different platform, yes – but I really need a code that will work there. Is there any way to redo the code to avoid the java errors?
September 17, 2015 at 8:47 pm #17748Stefano
KeymasterNo I was meaning the destination site where the plugin is installed, hence the http://www.natural-holistic-health.com/ site.
Stefano.
September 17, 2015 at 10:45 pm #17750Dondrea Braun
ParticipantWell, that code works fine on all my other external sites, so this time, I don’t think it’s a plugin conflict. Why would it work on 3 other external sites and not this one? I hate techie stuff 🙂
September 19, 2015 at 7:27 am #17802Stefano
KeymasterActually I don’t know but that message seems generated by a plugin not by WordPress and neither by Newsletter.
September 19, 2015 at 7:40 am #17804Dondrea Braun
ParticipantThere are no plugins on that site. Can we take this to email please, Stafano? I need this to work and I’m willing to give you logins to whatever you need. Aweber code works fine on that site, but I really don’t want to continue with aweber, I like your plugin better.
I’m also a premium customer and am willing to pay for your time. 🙂
September 19, 2015 at 3:09 pm #17811Stefano
KeymasterYes, write me at stefano@thenewsletterplugin.com.
-
AuthorPosts
- You must be logged in to reply to this topic.