You should show us some code... The issue you have seems to be cause by a
validator that make sure you don't duplicate value entry... Don't have
twice the same value for a given field...

On Wed, Mar 30, 2016 at 3:52 PM, 'Laer Cius' via web2py-users <
web2py@googlegroups.com> wrote:

> Hi,
>
> I would like to be sure of something : I want to update the database
> through a crud.update() form but when I do so, I have some "value already
> exists in database" errors. And I couldnt find a way to say to web2py to
> update only if changed or absent.. Which I thought the update form was
> doing by default. But maybe I just missed it.
>
> So, I'd like to know if it is normal web2py behaviour and I have to show
> and handle errors I need with form.errors or do I definitely miss something
> ?
>
> Thank you
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to