954,574 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Help required

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

haria_kishore
Light Poster
28 posts since Jan 2005
Reputation Points: 11
Solved Threads: 1
 

What do you have so far?

masijade
Industrious Poster
Moderator
4,253 posts since Feb 2006
Reputation Points: 1,471
Solved Threads: 494
 

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

for( int i = 0; i <= 4; i++)
{
<td> empty/with text</td>
}


Be aware I did not include it exact coding, this just kind of pseudo code

peter_budo
Code tags enforcer
Moderator
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You