Win a copy of Rust Web Development this week in the Other Languages forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

JSP and Forms

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello- I am working on a project that was passed on to me. I am a junior developer and some help would be greatly appreciated. I have a jsp document that uses multiple page fragments to create dynamic content. One of those pages is supposed to generate additional form fields for users to input information. The user clicks on a plus button,which is an on-click event which inserts more fields. The minus button does the complete oppisite, by deleting the fields and the information inside. When I add new fields, the information is sent to SQL Server. When I delet a new field the information is deleted from SQL Server. The poblem comes when I have more than one field populated and I decide to delete one because the information is incorrect. I delete the field and then click the plus button for a new field and it duplicates the information from the first field and inputs it into the database. How do I keep it from duplicating? I have code samples, which I know will be helpful. Sorry for the detailed information, just thought it would help.
Thanks ahead for any input
[ October 04, 2003: Message edited by: Bear Bibeault ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic