I have a form with two submits, one that adds the results in multiple fields and displays it and one that when finished with the results, can submit those results through formmail. I'm using an onclick() function for both, but I'm not sure how to use it for the formmail. This is what I have: onClick=""action="/cgi-bin/formmail/formmail.pl" method="post"" I know that the quotes are not right, but not sure if this may be the problem or am I totally wrong in the way I'm doing this. Any help in this matter would be of a huge help. Thanks in advance, Bill
As far as quotes are concerned you can you single quote too something like onClick='action="/cgi-bin/formmail/formmail.pl"' If I am getting it correctly. Other approach is to have a hidden field which gets set on one submit and other submit checks that so basically to have a function call onClick="doThisFirst()" and then onClick="doThisNow()"