Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic Text fields

Status
Not open for further replies.

chris5g

Programmer
Joined
Aug 21, 2001
Messages
48
Location
US
I'm trying to get a list of text values from a user and I want to be able to let them add as many text fields as they need.

Ex. txtField1 holds Green so the user click on a button to add another field and then txtField2 appears. And so on.

Is there a way to do this without having to reload the page?

Thanks for the help
 
javascript is the way

in all when you consider ASP in web development there isn't much dynamic about it. that is the main purpose and where your client side scripting is going to come into play.

you need to ask either in the javascript forum forum216
or if you are in closed doors and IE only supported then vbscript forum as well forum329

these two forums will help you on the client level and the dynamic level of your development.

note: please chose a language and ask in only one forum. the duplicate posts in many forums is redundant and not going to help you in your develoment at all. find something and stay on that format. [wink]

_________________________________________________________
for the best results to your questions: FAQ333-2924
01001111 01101110 01110000 01101110 01110100
onpnt2.gif
[/sub]
 
Yeah I agree with onpnt.

I'd actually prefer to see one forum called "Browser Neutral DHTML" devoted to most Javascript issues. Plus another called maybe "IE DHTML" that would cover IE DOM, JScript, and VBScript issues in the context of IE.

Hopefully this would get ASP issues out of the Javascript Forum, and ASP and browser issues out of the VBScript Forum, which was supposed to be WSH VBScript and Office VBScript issues rather than web topics.

Maybe all the web topics ought to be headed up like:

Web: ASP Classic Development
Web: ASP.Net Development
Web: Browser Neutral DHTML
Web: MS IE DHTML
Web: PHP Development
Web: Netscape topics
Web: MS InterDev
Web: MS Frontpage
Web: Server Data Access
Web: Dreamweaver
Web: XML, XSLT, and Xxx Topics
Web: ... etc.

.. but everybody always thinks that complicates things. *sigh*
 
Thanks guys, I got my answer in the JavaScript Forum.

See the solution here: thread216-532545
 
hmm.. that was me that answered it. [lol]

glad you got what you needed.

_________________________________________________________
for the best results to your questions: FAQ333-2924
01001111 01101110 01110000 01101110 01110100
onpnt2.gif
[/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top