I have the identical code (see below) in the click-event of two buttons: one on the master page, the other on the text page.The code on the text page works fine.The code on the master page produces a "Form1 is undefined" error. The cause for the trouble is clearly the submitForm() - without it the p...