Re: [web2py] Custom validator that avoids saving duplicate / similar values on a database with custom forms

2019-05-20 Thread mostwanted
I wanna use a custom validator with a more relevant message, the message with IS_NOT_IN_DB() reads* "Value already in database or empty", *how can i change the message to what i want it to be? Mostw On Monday, May 20, 2019 at 9:36:32 AM UTC+2, Lovedie JC wrote: > > IS_NOT_IN_DB() > > On Mon,

Re: [web2py] Custom validator that avoids saving duplicate / similar values on a database with custom forms

2019-05-20 Thread mostwanted
I wanna use a custom validator with a more relevant message, the message with IS_NOT_IN_DB() reads* "Value already in database or empty", *how can i change the message to what i want it to be? Mostwanted On Monday, May 20, 2019 at 9:36:32 AM UTC+2, Lovedie JC wrote: > > IS_NOT_IN_DB() > > On

Re: [web2py] Custom validator that avoids saving duplicate / similar values on a database with custom forms

2019-05-20 Thread Lovedie JC
IS_NOT_IN_DB() On Mon, 20 May 2019, 10:07 mostwanted wrote: > I have a custom form that allows users to save information on what they > are selling but the problem is that at times customers save similar items > names and during a search by buyers the buyer gets a duplicate name > results, what

[web2py] Custom validator that avoids saving duplicate / similar values on a database with custom forms

2019-05-20 Thread mostwanted
I have a custom form that allows users to save information on what they are selling but the problem is that at times customers save similar items names and during a search by buyers the buyer gets a duplicate name results, what i want is to disable registering clients from saving the same item