How does web2py display a field in the view using custom form that is added to SQLFORM() in this manner
form=SQLFORM(db.table) my_extra_element = TR(LABEL('Test:'), INPUT(_name='test',value='Some text',_type='text')) form[0].insert(-1,my_extra_element) In view {{=form.custom.widget.test}} This does not work though it returns None...what's the correct way of doing it? --