Hi, thanks for checking out my post...
I have managed to get two freely available scripts running on my site. One is a poll script the other is a tell-a-friend script. Both scripts use forms and both currently work. However, I have run in to an issue I am unable to solve...
The problem is that whenever the poll script is submitted with a vote the tell-a-friend script becomes submitted as well. So they are both submitting at the same time even though they are completely separate forms. This becomes an issue because when someone submits a vote on the poll they do not enter information in to the other script, the tell-a-friend script, and so because the tell-a-friend script gets submitted empty all the red error messages (no email, no names, etc.) appear for the tell-a-friend script which just looks odd.
I'm not that knowledgeable with html forms but I've noticed both forms have their 'action' attribute pointing to the current webpage url. i.e on the homepage of the site both scripts form actions point to 'index.php'. Is this where the issue lies that is causing both forms to submit at the same time?
Is it possible to get around this issue?
A big thank you in advance for any help with this.
Mike