>> 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.. :-)
There is not a better way? When something goes wrong, I want to enable
the form again. When there allready are readonly fields, this could
complicate matters.
--
Cecil Westerhof
No comments:
Post a Comment