Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Web form generation and validation

by szabgab (Priest)
on Dec 27, 2010 at 17:38 UTC ( #879305=perlquestion: print w/replies, xml ) Need Help??
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 (Bishop) 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 KEYWORDS: survey, online survey, questionnaire, online questionnaire, webbased survey, statistics, mod_perl, mod_survey, apache, Joel Palmius

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://879305]
Approved by sweetblood
Front-paged by Arunbear
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2018-05-21 04:00 GMT
Find Nodes?
    Voting Booth?