Your skill will accomplish what the force of many cannot |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
You might be interested in this post by merlyn. I'm working in some similar directions and what his program does now is take an html doc and spit out the CGI.pm code for it. Might be worth looking into. It has a few form handling issues right now but it's probably 95% of what you want.
If the forms are coming from in-house non-programmers, maybe you could add a non-standard attribute to the form elements to tell you what type of attribute it is. Then modify the parse to recognize this extra key and generate the code to handle it. Perhaps a required attribute as well. Then strip them out. This way you can easily spit out a list of your required fields as well. -Lee "To be civilized is to deny one's nature." In reply to Re: Automatic Generation of Form Handling Code
by shotgunefx
|
|