Is there any flexibility with the default buttons for a non-stateless form?

Is there any flexibility with the default buttons for a non-stateless form?


While I can define custom buttons for a Stateless Form, with a regular Form I seem to be stuck with an Update and Cancel button and they don't seem to have much functionality. I want to write a script for my cancel button that calls the openUrl() function -- how do I do that?

Cheers,
Kevin