Aaron Trevena wrote:
Hi all,

Peter and I are working through final documentation and API for forms
in Maypole and I was wondering how people would prefer empty fields
and required columns to work, at least as far as Untaint. FromCGI and
dropdowns in add/edit forms are concerned.

Peter's AsForm and Model::CDBI now provide a way to set a column as
nullable, and Model::CDBI also checks a per table configuration of
required and ignore fields for use with FromCGI.

I was thinking of combining these two methods, with a check of
required fields if specified, falling back to nullable fields if none
specified and/or checking the type with Type::Plugin..

Anybody have any preferences - default to required or optional?

I'm having trouble understanding what you're suggesting. Are the docs available? - that would be a good way understand the proposal.

Cheers, Dave


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Maypole-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maypole-devel

Reply via email to