Solved

Combine info from a textbox & dropdown menu

Posted on 2000-05-02
2
306 Views
Last Modified: 2010-07-27
Nice easy one...

How can I combine the input from a textbox with that of a dropdown menu into a single value? For example, I've collect info from different pages using the command:
<INPUT TYPE=HIDDEN NAME="name" VALUE="<%=Request.Form("value")%>">

How can I then combine 2 of these values (one from a text box, the other from a dropdown menu) into a single value which can be displayed on screen? To display collected info, I use:
<%Response.Write(Request.Form("name")) %>

Thanks for any help on this one.
0
Comment
Question by:omb
2 Comments
 
LVL 1

Accepted Solution

by:
pauljk earned 10 total points
ID: 2770029
Response.write (Request.Form("name") & Request.form("HiddenName"))

This will concatenate the to values...

If you want a space in the middle add
& " " &
in between the two requests.
0
 
LVL 3

Author Comment

by:omb
ID: 2770122
Thanks pauljk - that was easy for you! Works just fine.

Please check out the last few comments on the following question... http://www.experts-exchange.com/jsp/qShow.jsp?ta=html&qid=10335112  and see if you can help out.

Cheers
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Response.Flush in Classic ASP causing TIME_WAIT ports 9 84
SMS AddAttachment Protocol Error Classic ASP 10 36
SQL Filter Question 8 77
Need help editing script 3 65
I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Edureka is one of the fastest growing and most effective online learning sites.  We are here to help you succeed.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now