http://www.perlmonks.org?node_id=879305

szabgab has asked for the wisdom of the Perl Monks concerning the following question:

I am thinking to create a web based survey and I thought the best way would be to describe the questions and the possible answers as a json or yaml file. Then generate the forms from there (possibly spreading several pages). From the same description file I could derive the rules for input validation and then I could use something like Data::FormValidator to validate the results.

In the end I'd like to plug this in a Dancer based application.

I wonder what modules are out there on CPAN that could help doing this?

Replies are listed 'Best First'.
Re: Web form generation and validation
by Your Mother (Archbishop) on Dec 27, 2010 at 19:51 UTC

    HTML::FormHandler or HTML::FormFu. I believe both do validation so you won't need another piece for that. Dancer would be fine and has picked up a lot of components quickly. Catalyst has many more if you wanted to do something a bit bigger/deeper.

Re: Web form generation and validation
by Anonymous Monk on Dec 27, 2010 at 19:37 UTC
    I would use http://www.modsurvey.org/ KEYWORDS: survey, online survey, questionnaire, online questionnaire, webbased survey, statistics, mod_perl, mod_survey, apache, Joel Palmius