no. what you need to do is have two forms - but only one with a submit button. when you hit that button, it sets of the javascript, and then you have at the end of that script a form2.submit() call which will promptly set off the one which had an 'action' tag.