A couple of SQLFORM-related questions.

1. I'd like a wider string input field, and I'm not sure how to get it. Unless 
there's an easier way, I was thinking I'd extend the string widget to embed a 
size & maxlength. The manual mentions widget extension, but there's no example 
(only an example of writing a new one). 

So: how to extend the string widget? And how to invoke the existing string 
widget from FIELD with size/maxlength attributes? (And is there yet another 
method I'm overlooking?)


2. I have a table with a user ID, writable=False. In the SQLFORM, I'd like to 
display it as the user's name or email address instead of the bare ID. How?


Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to