FAQ
Andrew,

2005/11/22, Andrew Ford <A.Ford@ford-mason.co.uk>:
Given that the module works with Catalyst I am making a first
announcement of version 0.04 here. The source code is available from:

http://andrew-ford.com/perl/cgi-formmanager/
Thanks for your release.
This is what our form definition might look like:

my $form_defn = {
options => { method => 'POST',
action => $url,
},
elements => [ '<h2>Your login credentials</h2>',
cfm_text_field( name => 'email',
label => 'Email address',
...

],
validation => { required => [ qw(email password) ],
constraint_methods => {
email => email(),
},
},
};
Do you think that form definition data could be reasonably loaded from
say a YAML file or whatever in the flavor of formbuilder source
directive?

--
Bernard FRIT

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 8 | next ›
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedNov 22, '05 at 1:12p
activeNov 22, '05 at 8:06p
posts8
users6
websitecatalystframework.org
irc#catalyst

People

Translate

site design / logo © 2022 Grokbase