943,840 Members | Top Members by Rank

Ad:
  • JSP Discussion Thread
  • Unsolved
  • Views: 1498
  • JSP RSS
Aug 2nd, 2006
0

Help required

Expand Post »
Hi friends

I am designing a questionnaire where at one particular page i need to ask the user "Number of projects"

Based on the number provided and when he clicks next, he should get the table with rows equal to the number provided. The columns will be fixed .

Can anyone help me to achieve this pls
Similar Threads
Reputation Points: 11
Solved Threads: 1
Light Poster
haria_kishore is offline Offline
28 posts
since Jan 2005
Aug 2nd, 2006
0

Re: Help required

What do you have so far?
Moderator
Reputation Points: 1471
Solved Threads: 490
Industrious Poster
masijade is offline Offline
4,043 posts
since Feb 2006
Aug 3rd, 2006
0

Re: Help required

I'm not gone give you code just idea how to go about it

1st get the number from user
2nd simple for loop will do it for you

for example 4 rows with html tag td

JSP Syntax (Toggle Plain Text)
  1. for( int i = 0; i <= 4; i++)
  2. {
  3. <td> empty/with text</td>
  4. }

Be aware I did not include it exact coding, this just kind of pseudo code
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 873
Code tags enforcer
peter_budo is offline Offline
6,656 posts
since Dec 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JSP Forum Timeline: The requested resource (/jsp-examples/) is not available
Next Thread in JSP Forum Timeline: How To Load Text File





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC