Thanks,It did work, but for some reason it's firing twice? i.e. the message box appears twice when it should only appear onceI think it must be something to do with where I have the code? Below is where I have it. form1.#pageSet[0].Page1.#subform[0]::calculate - (JavaScript, client)Also, once it's f...