ed\&quot;&gt; \n   &lt;/div&gt; \n &lt;/form&gt; \n&lt;script type=\&quot;text/javascript\&quot;&gt;\n(function() &#123;\n  var form = document.getElementById(\&quot;mad_mimi_signup_form\&quot;),\n      submit = document.getElementById(\&quot;webform_submit_button\&quot;),\n      email = /.+@.+\\..+/;\n      \n  form.onsubmit = function(event) &#123;\n    var isValid = validate();\n    if(!isValid) &#123;\n      for(var i = 0; i &lt; form.elements.length; ++i) &#123;\n        var input = form.elements[i];\n