Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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 http://www.modsurvey.org/ 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 (Canon) 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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://879305]
Approved by sweetblood
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2014-07-25 02:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (167 votes), past polls