[Catalyst] FormFu: How to ensure a field value is unique?
bhx6 at mevik.net
Mon Jun 3 19:04:03 GMT 2013
Carl Franks wrote:
> Try this config instead of the single 'model' above:
> model: DB
> resultset: OpusTwikiBrukernavn
That worked! Thanks a lot! :)
>> Use of uninitialized value $name in pattern match (m//) at /home/bhm/perl5/lib/perl5/HTML/FormFu/Element.pm line 71.
>> Use of uninitialized value $root in hash element at /home/bhm/perl5/lib/perl5/HTML/FormFu/Role/NestedHashUtils.pm line 43.
> I don't think this is also immediately linked to your error,
Probably not; I get at least the first message on other forms as well.
> but it indicates that you're using a field element without a name -
> this is unsupported by FormFu, and may cause other errors.
Thanks for the tip. I'll check.
More information about the Catalyst