How about making a function for 'onvalidation'. e.g. if form.accepts(request.vars,session,onvalidation=your_function)
See the book. On Mar 3, 8:04 am, Manuele Pesenti <[email protected]> wrote: > Il 03/03/2011 08:27, pbreit ha scritto:> What is it doing and what are you > expecting? > > as I said after I need that only if null the two fields has to be the > same. And I want to use a form builded via SQLFORM.factory because my > form is not stricly related to a db table. I hope I've been more clear :) > > Cheers > Manuele > > > > > I don't understand exactly what you are trying to achieve. You have > > two form fields, a and b? And whatever is entered in b must match what > > is entered in a? > >

