• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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

 
Ranch Hand
Posts: 141
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!

TIA,

Still-learning Steve
 
The harder I work, the luckier I get. -Sam Goldwyn So tiny. - this ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic