Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Best way to handle dynamic HTML form creation and storage of completed forms?  RSS feed

Ranch Hand
Posts: 141
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A general question:

My department wants to convert from paper to electronic forms for submittal over the web.
We have several dozen forms and there exists several versions of many of these, so say a couple hundred unique forms. The forms exist as W*rd documents which we print out as needed.

Seems to me XML would be good for this:
- each unique form has its own schema file and XSLT file to describe how to display the empty form based on the schema, and perhaps a template file to contain default values for some of the fields.
- two database tables:
-- form_templates to hold the xsd, xslt and template files
-- completed_forms to hold (duh) filled-out forms.

and some webapp where a customer can call up a (current revision of a ) of a form template, fill it in, submit it which saves it in completed_forms.

Does this sound feasible? Are there better methods, tools or objects to do the job?

All inputs welcome!


Still-learning Steve
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!