It calls explicitly the validator you defined for db.shapecolor.shapecolor.requires It return (value,error), error==None if not error.
On Jan 11, 11:24 am, annet <[email protected]> wrote: > Massimo, > > Thanks for helping me solve this problem, it works! > > I use this solution to solve the multi column unique constraint > problem, it may not be the most elegant solution, but I prefer this > one over the one of coding widgets to repair all the broken drop > boxes. > > I have one last questions about this: what exactly does the following > line of code accomplish? > > form.vars.shapecolor,form.errors.shapecolor=db.shapecolor.shapecolor.requires > (shapecolor) > > Annet. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" 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 -~----------~----~----~----~------~----~------~--~---

