Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Combine info from a textbox & dropdown menu

Posted on 2000-05-02
2
Medium Priority
?
313 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

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…
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/…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

704 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