• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Dynamic Form Building using JSP

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I need to achieve dyanmic form building functionality in JSP.
i.e i would like to provide a functionality for end user where the user will be able to build his/her own form.Adding some text box,drop down's and radio button.

I have any idea of <div> tag and we can make it visible and invisible depending upon some conditions.but i am worried about the database related issues like the table design to achieve the dynamic functionality.

I have an idea of the xml where we have name /value functionality.I am planning to generate xml file from the front end attributes and save the file to Database.Whenever user query for the form ,we can read the xml file and generate the data to the form.

Is my approach feasible.

Please suggest me some solutions.

thanks in advance

Suresh

[ October 28, 2007: Message edited by: suresh myageri ]

[ October 28, 2007: Message edited by: suresh myageri ]
[ October 29, 2007: Message edited by: suresh myageri ]
 
Ranch Hand
Posts: 187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can use javascript widgets to allow the user to pick elements to add/remove to/from the form. the user could save the form, which would save the object model to the database (some sort of a record of what user saved what form with what elements contained), so that the user could then retrieve/modify/delete the form in some interface and view/use it as an actual form (and/or let others do so) in some other interface.
 
suresh myageri
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Emanuel,

Thanks a lot for your valuable suggestion.

Regards,
Suresh
[ November 01, 2007: Message edited by: suresh myageri ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic