Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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?

Comment on Web form generation and validation
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
Re: Web form generation and validation
by Your Mother (Chancellor) 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.

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (12)
As of 2015-05-24 22:26 GMT
Find Nodes?
    Voting Booth?

    In my home, the TV remote control is ...

    Results (476 votes), past polls