- This topic has 3 replies, 3 voices, and was last updated 11 years, 9 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › eStore – Squeeze Form – User submitting a bad email breaks page
Hi,
I’m using the WP eStore to give away a free download in exchange for signing up for my mailing list.
I’m using <?php echo eStore_free_download_form(17); ?> for the link. But I’ve modified it to look and operate how I’d like and I think I broke something in the code when I was hacking around.
When someone enters anything thats not an email address and hits submit, the page reloads but the <?php echo eStore_free_download_form(17); ?> and EVERY LINE OF CODE AFTER disappears.
The site is [www.mlamar.com], on the right column under ‘mailing list’
Does anyone know why this might be happening, or where in the code I should look to see where I’ve messed up? I can’t find the “bad email” parameter anywhere
Thanks for any help
It appears the behavior is part of the store. If I use a shortcode squeeze box, it does the same thing when I enter an invalid email address. In my case it comes back with a completely empty page which is typical if there is an uncaught PHP error somewhere.
It seems there is no javascript or what-have-you to check the email address at submit time.
The email address validation wasn’t working correctly. Please download a new copy of the plugin and update it which should fix the issue you are seeing:
Great! Thank you!