Hi, got a small problem here. I have a postcard site and I would like to do the following.

I want to use a single <form> for the card creations, but I also want to offer a preview pane in a new window if they want preview the card.

For example, if they click the "Preview" button a new window pops up (preview.phtml) with a preview of their card with all their selections showing.

If they click the "Send Now" button they are taken to the confirmation page (sent.phtml) that tells them that their card has been sent.

Is this possible with one <form> tag?

I tried setting up a javascript using document.write to dynamically write in the action= tagd depending on which input button they click but that doesn't seem to work.

Any ideas?