El mar, 15-09-2009 a las 09:18 +0300, Rakotomandimby Mihamina escribió:
> Hi all,
> After reading http://webpy.org/cookbook/forms
> How to make one field readonly?
>
> http://www.google.com/search?q=webpy+form+readonly did not
> give me directions...
>
> Thank you
It's html:
web.form.Textbox('hola', disabled='on')
render as
<input type="text" name="hola" disabled="on" id="hola" />
You can use your own Textbox function to write "disable" or not
depending on the value you've assigned
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---