You can change the length of the field
form=SQLFORM.factory(Field('name',length=256))
of the size of the <input/> from the view:
<script>
jQuery(document).ready(function(){jQuery('#no_table_name').attr('size',
80);});
</script>
On Nov 24, 9:34 am, sandy <[email protected]> wrote:
> How can we modify the length of the text form in the form created
> using the form_factory function.??
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---