Hi all,
I'm playing with the 'email a friend' function from p47 of the advanced guide and have a small issue I need to overcome.
If I do not enter anything into the email field (ie it is left 'null') and just click the 'send e-mail' icon then the product is added to the cart rather than the entry being dropped as invalid.
You can see the issue by following this link and clicking the email icon:
http://www.scartplug.com/acatalog/XHT501.html
Is there any way of forcing the script to ignore null entries?
J
I'm playing with the 'email a friend' function from p47 of the advanced guide and have a small issue I need to overcome.
If I do not enter anything into the email field (ie it is left 'null') and just click the 'send e-mail' icon then the product is added to the cart rather than the entry being dropped as invalid.
You can see the issue by following this link and clicking the email icon:
http://www.scartplug.com/acatalog/XHT501.html
Is there any way of forcing the script to ignore null entries?
J
Comment