I'm sure it is easy, but I couldn't figure it out.

*Q:*
*How do you remove the*
*form  :*
*from the table generated with FORM() helper.*
*
*
See red box on screen shot.

*Reason*:
I'm building a tutorial on how to do a simple Email form in web2py.

Thanks!
~Rob

def contactus():
    form=FORM(TABLE(TR("Your name:",INPUT(_type="text",_name="s_name",
requires=IS_NOT_EMPTY())),
                    TR("Your email:",INPUT(_type="text",_name="s_email",
requires=IS_EMAIL())),
                    TR("Subject:",INPUT(_type="text",_name="s_subject",
requires=IS_NOT_EMPTY())),                   
                    TR("Message",TEXTAREA(_name="s_message", requires=
IS_NOT_EMPTY())),
                    TR("",INPUT(_type="submit",_value="SUBMIT"))))

-- 



<<attachment: Screen Shot 2012-08-07 at 4.27.53 PM.png>>

Reply via email to