readonly inputs when form is submitted

I would like to turn inputs to readonly when the form related with its is
submitted.

I don't know how can I do it. I try with events but @readonly attribute
works with xpath, not with events, it is not thus?

How can I bind @readonly with a trigger, an action or a event?

Thank you
Iņaki

Received on Saturday, 2 December 2006 01:45:17 UTC