Massimo,
Solved the problem, corrupted "plugin_t2". Thanks
ed

On Nov 19, 3:16 pm, ed <[EMAIL PROTECTED]> wrote:
> Massimo,
> It seems the other app Puppy I downloaded had the same problem.
> Errors like blank fields are not displayed. Can this be a T2 problem,
> corrupted maybe?
> I tried JobSite and errors are displayed. Thanks
> ed
>
> On Nov 19, 2:25 pm, ed <[EMAIL PROTECTED]> wrote:
>
> > Massimo,
> > My web2py version is 1.44. Is there any bug reported the same as what
> > i encountered?
> > ed
>
> > On Nov 19, 1:09 pm, mdipierro <[EMAIL PROTECTED]> wrote:
>
> > > It works for me. Perhaps this is due to a bug that was introuced in
> > > 1.49 and was fixed today in trunk.
> > > I will repost on Thursday.
>
> > > Massimo
>
> > > On Nov 18, 11:03 pm, ed <[EMAIL PROTECTED]> wrote:
>
> > > > Hi,
> > > > I've been trying to validate and display the form variables in the
> > > > sample code below but failed.
> > > > -------------------------------------------------------------------------------------
> > > > def emplogin():
> > > >     response.menu =[
> > > >     ['Home', False,t2.action('home')],['Sign In',False,t2.action('')]]
> > > >     response.flash = "Please Sign In to access
> > > > eServices."
> > > >     form = FORM(TABLE(TR("Id No.:", INPUT(_name="idno",requires=
> > > > [IS_NOT_EMPTY()])),\
> > > >                      TR("", INPUT(_name="submit", _type="submit",
> > > > _value="Sign In"))))
>
> > > > #  The form test below failed, meaning if "idno" is True or has errors
> > > > then
> > > > #  corresponding messages should be shown. Unfortunately only the
> > > > #  "Please sign in..." message is displayed after "idno" is inputted
> > > > and submitted or #   resubmitted.
>
> > > >     if form.accepts(request.vars, session):
> > > >         response.flash = "Form accepted. %s" %(form.vars.idno)
>
> > > >     elif form.errors:
> > > >         response.flash='Form not accepted.'
> > > >         link1=A('register',_href=URL
> > > > (r=request,f='register'))
> > > >     return dict(Employee=form)
> > > > -----------------------------------------------------------------------------------------------
> > > > Checked the FORM code but failed to see potential problems. Please
> > > > help. Thank you in advance.
> > > > ed
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
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