I am not sure I understand your question. The book is correct 'text'
is rendered by a textarea. Here is an example:

$ python web2py.py -S welcome -M
>>> print SQLFORM.factory(Field('test','text'))
<form action="" enctype="multipart/form-data" method="post"><table><tr
id="no_table_test__row"><td><label for="no_table_test"
id="no_table_test__label">Test: </label></td><td><textarea
class="text" cols="40" id="no_table_test" name="test" rows="10"></
textarea></td><td></td></tr><tr id="submit_record__row"><td></
td><td><input type="submit" value="Submit" /></td><td></td></tr></
table></form>

same with formal SQLFORM, crud.create and crud.update.

Do you get a different output?

Massimo


On Feb 24, 10:08 pm, mdmcginn <[email protected]> wrote:
> Section 7.2 of the book says, "A SQLFORM displays "boolean" values
> with checkboxes, "text" values with textareas," etc. But instead, it
> apparently displays "text" values with text. Others have asked how to
> make them display as textareas - as larger input fields. Sure, I could
> use FORM instead of SQLFORM to do it, but is the book wrong? (I
> thought this might be a bug/question not an edit, so I didn't sign up
> as an editor to report this.)

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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