Forums

Valid Email Getting Error

JoeKMT 30 Apr, 2014
Hello,
Even though customers are using a valid email, some not all, are getting a "Please enter valid address" after submitting the form.
After they get the error the email field gets filled with this:
"<script type='text/javascript'> <!-- var prefix = 'ma' + 'il' + 'to'; var path = 'hr' + 'ef' + '='; var addy57847 = 'bowdish54' + '@'; addy57847 = addy57847 + 'gmail' + '.' + 'com'; document.write('<a ' + path + '\'' + prefix + ':' + addy57847 + '\'>'); document.write(addy57847); document.write('<\/a>'); //-->\n </script><script type='text/javascript'> <!-- document.write('<span style=\'display: none;\'>'); //--> </script>This email address is being protected from spambots. You need JavaScript enabled to view it. <script type='text/javascript'> <!-- document.write('</'); document.write('span>'); //--> </script>".

Also the reset form button does not work. I did not have any problems when testing the form before and after the website was launched. This was also happening before I updated from Joomla 3.2.3 to 3.3.0

Here is a link to the page http://www.kalispellgrand.com/reservations.html

Thank you for your help!

Joe
GreyHead 01 May, 2014
Hi JoeKMT,

Please see this FAQ

The Clear Form button appears to be working OK?

Bob
JoeKMT 01 May, 2014
Thanks Greyhead,
That FAQ was the answer for the script showing up in the email field. What was causing the form to throw the "Enter Valid Email" error, even though a valid email was being used was the "Address Line 1" was set for "Server Side Validation" but I forgot to make it Required. So with that setting, leaving the address field empty caused the "Valid Email" error. Not sure if that is what is supposed to happen or not. It is working now.

Thank you again for all of your help.

Joe
GreyHead 01 May, 2014
Hi Joe,

Good to see you got it working. I'm not clear why the Address line gave an Email error message though :-(

Bob
This topic is locked and no more replies can be posted.