[html-formfu] Uniqueness validator - best practice
Charlie Garrison
garrison at zeta.org.au
Tue Mar 17 12:08:02 GMT 2009
Good evening,
On 17/03/09 at 11:38 AM -0000, Carl Franks <fireartist at gmail.com> wrote:
>2009/3/17 Ian Wells <ijw at cack.org.uk>:
>> I want to validate that a new, or changed, name in a form is unqiue
>> within its DBIC table.
>>
>> I don't suppose someone's got a good example of how this should look?
>
>I thought there was a DBIC::Unique constraint or validator somewhere
>in svn, but can't find it.
>Maybe check the list archives.
It's in SVN as part of HTML-FormFu-Model-DBIC. I'm happily using it as part of a new project.
Rev1261: moving Constraint::DBIC::Unique from html-formfu-dbic to html-formfu-model-dbic dist.
Charlie
--
Charlie Garrison <garrison at zeta.org.au>
PO Box 141, Windsor, NSW 2756, Australia
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
http://www.ietf.org/rfc/rfc1855.txt
More information about the HTML-FormFu
mailing list