Solved

Combine info from a textbox & dropdown menu

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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 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/…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

743 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

16 Experts available now in Live!

Get 1:1 Help Now