Community Forums › Forums › Archived Forums › Design Tips and Tricks › Genesis eNews and Greenrope
Tagged: enews, error on submit, form, genesis, greenrope
- This topic has 3 replies, 2 voices, and was last updated 9 years, 8 months ago by
Susan.
-
AuthorPosts
-
January 22, 2014 at 12:09 pm #86497
KarenLeighBurton
Membera client, uses Greenrope. I need to make the genesis enews extended plugin work with this. http://www.hereandnownetwork.com (you can test for yourself). If I put in my name/email it takes me to an error page that tells me I've entered an invalid email address.
This is the code provided by greenrope:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <link rel="stylesheet" type="text/css" href="http://app.greenrope.com/styles/signup.css" /> <link rel="stylesheet" type="text/css" href="http://app.greenrope.com/img/joinback/design8.css" /> <style type="text/css"> .formRow label { font-size: 12px; } #labelFullName { white-space: nowrap; } </style> <script type="text/javascript" src="http://app.greenrope.com/app2/js/jquery/jquery-1.10.2.min.js"> </script> <script type="text/javascript" src="http://app.greenrope.com/app2/js/jquery/jquery-migrate-1.2.1.min.js"> </script> <script type="text/javascript" src="http://app.greenrope.com/scripts/signup.js"> </script> <script type="text/javascript" src="http://app.greenrope.com/app2/js/mailcheck.min.js"> </script> <script type="text/javascript" language="JavaScript"> function updateConditionals() { if (parent.$('#signupFormIframe5')) { parent.$('#signupFormIframe5').height($('body').height() + 20); } } function checkMandatory() { var ok2submit = 1; var errorFields = ''; var atTest = /\@/; var dotTest = /\./; if ((atTest.test(document.signupForm.Email.value) == false) || (dotTest.test(document.signupForm.Email.value) == false)) { ok2submit = 0; errorFields += 'Email'; } if (document.signupForm.FullName.value == '') { ok2submit = 0; errorFields += ', FullName'; } if (ok2submit == 0) { var errorFields2 = errorFields.replace(/^\, /,''); alert('To submit this form, please ensure you have entered information for: ' + errorFields2); return false; } else { return true; } } $(document).ready(function() { $('#signup_Email').on('blur', function() { $(this).mailcheck({ suggested: function(element, suggestion) { $('#emailEntryAlert').html('Did you mean <a onclick="$(\'#signup_Email\').val(\'' + suggestion.full + '\'); $(\'#emailEntryAlert\').html(\'\');" style="text-decoration: underline; cursor: pointer;" title="Click here to make this your intended email address">' + suggestion.full + '</a>?'); }, empty: function(element) { if ($('#signup_Email').val() == '') { $('#emailEntryAlert').html('Be sure to enter a valid email address!'); } } }); }); $(':input').on('click', function () { updateConditionals() }); $(':input').on('blur', function () { updateConditionals() }); $(':input').on('focus', function () { updateConditionals() }); $(':input').on('keyup', function () { updateConditionals() }); $('textarea').on('click', function () { updateConditionals() }); $('textarea').on('blur', function () { updateConditionals() }); $('textarea').on('focus', function () { updateConditionals() }); $('textarea').on('keyup', function () { updateConditionals() }); $('select').on('click', function () { updateConditionals() }); $('select').on('blur', function () { updateConditionals() }); $('select').on('focus', function () { updateConditionals() }); $('select').on('change', function () { updateConditionals() }); updateConditionals(); }); </script> <style type="text/css"> body, input, select, label, li, p, div, span { font-family: verdana; } </style> <title>Form </title> </head> <body> <div id="container"> <div id="logoDiv"> </div> <div id="formTop"> </div> <div id="formContainer"> <form name="signupForm" id="signupForm" target="_blank" method="post" action="http://app.greenrope.com/j1.pl?6e5eb292fbc67bc7e5db20f8630c1730d3549ba36a6db9e7184ba70a439fba8a" onsubmit="return checkMandatory();"> <div class="introText"> <div style="text-align: center;">Join the <br><span style="font-weight: bold;">Here & Now E-Zine Community</span> <br>and receive business breakthrough strategies <br>and hilarious truth-telling anecdotes. <br> </div> </div> <table><tbody> <tr> <td> <ul id="teamFields"> <li class="formRow emailRow" id="field_Email"><label class="fieldName" for="signup_Email">Email<span class="reqMarker">*</span></label> <input type="text" name="Email" maxlength="64" value="" id="signup_Email" class="inputTextField" /> <div id="emailEntryAlert"> </div> </li> <li class="formRow" id="field_FullName" ><label class="fieldName" id="labelFullName" for="signup_FullName">Full Name<span class="reqMarker">*</span></label> <input type="text" name="FullName" value="" maxlength="64" id="signup_FullName" class="inputTextField" /> </li> </ul> <ul id="teamSelection"> <li class="formRow joinRow"><span id="confirmText"> </span> </li> <input type="hidden" name="AutomaticTeamIDs" value="29" /> <input type="hidden" name="AutomaticTeamIDs" value="4" /> </ul> </td> </tr> </tbody> </table> <div id="reqInfo">* required information </div> <input id="formSubmit" type="submit" name="formSubmit" style="font-weight: bold; font-size: 14px; color: #007fff;" value="Yes! I want to join." /> <input type="hidden" name="Referrer" value="" /> <input type="hidden" name="qstring" value="6e5eb292fbc67bc7e5db20f8630c1730d3549ba36a6db9e7184ba70a439fba8a" /> <input type="hidden" name="formSubmitCheck" value="1" /> </form> <div id="formBottom"> </div> </div> </div> </body> </html>
Widget Settings:
Form action field: http://app.greenrope.com/j1.pl?6e5eb292fbc67bc7e5db20f8630c1730d3549ba36a6db9e7184ba70a439fba8aEmail field: field_Email
First Name field: field_FullName (yes we are only using "full name" )
Hidden fields (I have tried with and without these):
<input type="hidden" name="Referrer" value="" />
<input type="hidden" name="qstring" value="6e5eb292fbc67bc7e5db20f8630c1730d3549ba36a6db9e7184ba70a439fba8a" />
<input type="hidden" name="formSubmitCheck" value="1" />
<input type="hidden" name="AutomaticTeamIDs" value="29" />
<input type="hidden" name="AutomaticTeamIDs" value="4" />The forms as is out of greenrope are horrendous, i need HELP. please?
http://www.hereandnownetwork.comApril 7, 2014 at 2:56 pm #98952Susan
ModeratorAs you posted this a while back, I hope you were able to get your issue resolved. If not, please check back in, and I will escalate for you.
If it is resolved, please mark it as "resolved", so we can close it.
Thanks!
April 8, 2014 at 8:15 pm #99251KarenLeighBurton
Memberno we never managed to get this working. I finally convinced him to get far far far away from greenrope and migrate to mailchimp (yay). but thank you for checking in.
April 8, 2014 at 8:17 pm #99253Susan
ModeratorThanks for letting me know!
-
AuthorPosts
- The topic ‘Genesis eNews and Greenrope’ is closed to new replies.