Yes, unless FORM(TABLE(TR(TD(INPUT(_name='visitor_name', requires=IS_NOT_EMPTY ()))), TR(TD(INPUT(_type='submit')))))
On Jan 18, 9:09 pm, mikech <[email protected]> wrote: > When I enter the code on pg. 55: > 1 def first(): > 2 form = FORM(INPUT(_name='visitor_name', requires=IS_NOT_EMPTY()), > 3 INPUT(_type='submit')) > 4 if form.accepts(request.vars, session): > 5 session.visitor_name = form.vars.visitor_name > 6 redirect(URL(r=request, f='second')) > 7 return dict(form=form) > > The submit button initially shows on the same line as the input. If > nothing is entered though the error message shows below the entry > field and the submit button shows below that. I that the expected > behaviour? -- 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.

