On Fri, Oct 2, 2009 at 8:32 AM, Giovanni Battista Lenoci <gian...@gmail.com> wrote: > > Cecil Westerhof ha scritto: >> >> I want to disable a form when I submit it. The first reason is because >> I do not want the form submitted more as once. For this I could >> disable the submit button(s). But I also want the values not be >> changed during the submit. Is this possible? >> > > On the beforesubmit event add the readonly attribute to every field. > > Should work.. :-) >
I like that idea but another might be to (after the form has submitted) add a new submit handler for the form that simply returned false.