• 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

is it good design having mutiple forms in a jsp

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

Hi Friends,

I need my JSP should contain multiple forms.

but my my doubt is is it good design. can i continue with my thoughts.

please help me out.

Thank You in Advance.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Forms have nothing to do with JSP; they're an HTML concept. I've moved this to the HTML forum.
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you are talking about multiple sibling forms, there's no problem having more than one as long as you realize that only one can be submitted (at least until you bring Ajax into the picture).

If you are talking about nested forms, then it's not even a matter of design as that's just flat-out invalid.
 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think its not a good design in which you may loose the data entered by the users in different forms as only one form is submitted .try to move it into different pages
 
Ranch Hand
Posts: 479
1
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I might rather not generalize. If the page provides seperate functionality, the idea of having multiple forms sounds good. Cause I would not expect the user to enter data on one portion of the screen, say a table/menu/form and expect the required functionality if he were to click on a button having a label which has no relavence to that on some other portion of the page.

Thanks,
Raj.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I think its not a good design in which you may loose the data entered by the users in different forms as only one form is submitted .try to move it into different pages


I disagree - having multiple forms on a page is fine. It is the job of the UI designer to make sure that users do not get confused over what should be entered, and what gets submitted.
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

bala nannaka wrote: I think its not a good design in which you may loose the data entered by the users in different forms as only one form is submitted .try to move it into different pages


I routinely have multiple forms on the pages for different purposes. Sometimes the user doesn't even know that they're there.
reply
    Bookmark Topic Watch Topic
  • New Topic