This is the way I do things like that

you can use Javascript or do it directly in the controller.

#Javascript

$("#my_textarea").text("Put some text here....");


#In the controller:

before form.accepts(), assign values, an example:

form.components[0].components[1].components[1].components[0].attributes
['requires'][0].error_message = T("Please fill in your email address")

I hope that helped

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to