Solved

Combine info from a textbox & dropdown menu

Posted on 2000-05-02
2
310 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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 information …
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

820 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