We've always done it by using javascript, and disabling the button as you've described.
HTH Grant On 30 July 2010 08:37, Dylan Tusler <dylan.tus...@sunshinecoast.qld.gov.au>wrote: > __ > [image: Sunshine Coast Regional Council]<http://www.sunshinecoast.qld.gov.au/> > > We've got an Ajax-ified multi-page form and I want to prevent > double-clicking on the final page's Submit button. My first thought is just > to disable the button in its on_Click event handler. Is this a suitable > approach? > > I've looked around a little, trying to see what is the best approach to > prevent someone from clicking twice (or more) on a submit button, but there > seems to be a wide variety of methods to choose from, many involving > JavaScript, or css, and so on. None of them seem simple enough to risk > experimenting with. > > Dylan Tusler > > > > ------------------------------ > To find out more about the Sunshine Coast Regional Council, visit your > local office at Caloundra, Maroochydore, Nambour or Tewantin or visit us > online at www.sunshinecoast.qld.gov.au. If correspondence includes > personal information, please refer to Council's Privacy > Policy<http://www.sunshinecoast.qld.gov.au/sitePage.cfm?code=disclaimer> > . > > This email and any attachments are confidential and only for the use of the > addressee. If you have received this email in error you are requested to > notify the sender by return email or contact council on 1300 00 7272 and are > prohibited from forwarding, printing, copying or using it in anyway, in > whole or part. Please note that some council staff utilise Blackberry > devices, which results in information being transmitted overseas prior to > delivery of any communication to the device. In sending an email to Council > you are agreeing that the content of your email may be transmitted overseas. > Any views expressed in this email are the author's, except where the email > makes it clear otherwise. The unauthorised publication of an email and any > attachments generated for the official functions of council is strictly > prohibited. Please note that council is subject to the Right to Information > Act 2009 (Qld) and Information Privacy Act 2009 (Qld). >