Forget about it...
I found the problem... There was to many things anyway.
;-)
Richard
On Wed, Jul 6, 2011 at 1:52 PM, Richard Vézina
wrote:
> I realise that it's not what I need when I just press send... Since not all
> the validators have passed when I want to my code to enter in action...
>
I realise that it's not what I need when I just press send... Since not all
the validators have passed when I want to my code to enter in action...
I face a really bizzard issue...
Here my model :
db.define_table('ref_tregistry',
Field('tregistry_id','id'),
Field('vregistry_id',db.ref_vregi
You can also use form.errors
if form.accepts(...):
...
elif form.errors:
...
HTH,
Miguel
On Wed, Jul 6, 2011 at 5:08 PM, Anthony wrote:
> form.accepts(...) returns True if all validators pass and False otherwise
> -- is that what you're looking for?
>
> Anthony
>
> On Wednesday, July 6, 2
form.accepts(...) returns True if all validators pass and False otherwise --
is that what you're looking for?
Anthony
On Wednesday, July 6, 2011 11:43:29 AM UTC-4, Richard wrote:
> Hello,
>
> Is there a way I can test if form have been submit and if no validators
> have triggered?
>
> Thanks
Hello,
Is there a way I can test if form have been submit and if no validators have
triggered?
Thanks
Richard
5 matches
Mail list logo