|
 |
asp_web_howto thread: creating a number of textfield and its name according to the input from the user.
Message #1 by "Kelvin" <kelvinteh@h...> on Fri, 16 Feb 2001 14:52:53
|
|
hi,
how do i display the number of textfields and drop down list according to
the input from user?
i realised that their names must be different as well so that when
i
click on the submit button, the action page will process them according
to
their name. but how does the assigning of unique name for each text field
be done automatically?
i hope i had described my problem clearly.
If anyone can help me, i really appreciate it. thank you.
Message #2 by "Alex Shiell, ITS, EC, SE" <alex.shiell@s...> on Fri, 16 Feb 2001 15:35:34 -0000
|
|
(not sure if this is what you were asking)
you can assign a name to a text field dynamically like this
<%
sName = ...
%>
<INPUT TYPE="text" NAME="<%=sName%>" VALUE="">
put this in some kind of loop and do some processing to make sName different
every time
-----Original Message-----
From: Kelvin [mailto:kelvinteh@h...]
Sent: Friday, February 16, 2001 11:34 PM
To: ASP Web HowTo
Subject: [asp_web_howto] creating a number of textfield and its name
according to the input from the user.
hi,
how do i display the number of textfields and drop down list according to
the input from user?
i realised that their names must be different as well so that when
i
click on the submit button, the action page will process them according
to
their name. but how does the assigning of unique name for each text field
be done automatically?
i hope i had described my problem clearly.
If anyone can help me, i really appreciate it. thank you.
________________________________________________________________________
Scottish Enterprise Network
http://www.scottish-enterprise.com
|
|
 |