Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Combine info from a textbox & dropdown menu

Posted on 2000-05-02
2
Medium Priority
?
314 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 40 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

972 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