This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

best option for implementing form

 
rammie singh
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i have a jsp page in which i want user to enter values.
the page has a table in which user has to enter his values.
what option will be best to implement this...a grid or a simple table.
but if i define a simple table , will the user be able to enter his values. i mean table is good for displaying something i guess.
what is a good option..??
 
Swastik Dey
Rancher
Posts: 1603
5
Android Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not very sure what you exactly mean by grid in html, as far as table is concerned you can always include input elements inside td tag

for e.g.

 
rammie singh
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
suppose i have a table structure like this in which i have to get values from user
what is the best way to implement it




so if the table is very large how to implement this table in a best way??
can any one help me please.
or is there any other way say grid or something else. what is the best way??

Here data1 data2 data3..... are the values to be entered by the user.. which will be fetched in a servlet.these values are not static.
what is the best way to implement this page.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64692
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like a table to me.
 
rammie singh
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
actually i am using this code to write it but i am not able to align the row contents properly.
can any one tell me where am i making mistake...


 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64692
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As this has nothing to do with JSP, moved to the HTML forum.
 
rammie singh
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok so what is thel solution??
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64692
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'll need to supply more info about the issue before anyone can help you. Just saying that things aren't lining up properly is not enough.
 
Swastik Dey
Rancher
Posts: 1603
5
Android Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use some html editor like Frontpage/Dreamweaver etc, things will be much easier.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64692
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Swastik Dey wrote:Use some html editor like Frontpage/Dreamweaver etc, things will be much easier.

Be aware that WYSIWYG editors generally don't produce what I'd call "good code". In fact, I've found that it make the markup very difficult to deal with, especially from JavaScript, because it's so badly structured.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic