Ask a Question related to ASP, Design and Development.
-
ziggs #1
How to populate a text box based on a preceding hyperlink
I have an asp form that has a text box called "colorBox". Just before
text box is the word "Color" that is hyperlinked and will run the
color.asp if pressed to show all of the colors in a predetermined 3
character code. Ex., BLU for Blue.
Now, what I'd like to do is have the user enter all of the data in the
main asp form, ex. Name, address, etc. When they come to the
"colorBox", they will be allowed to enter "BLU" by hand or click on
the "Color" hyperlink just before the "colorBox" and show the list.
From the list the user will pick one and that color will populate in
the "colorBox".
I don't want to use dropdown boxes, etc. I'm just using color as an
example and I want the user to hit the database since the data changes
from time to time.
Any links to where this is shown on a website would be great. TIA
ziggs Guest
-
Populate Flash Based Form from a cfgrid.
Hello, I have a flash based form in CFMX 8. It has a two cfinput fields (first name, last name), I also have a cfgrid which displays a list of... -
Hyperlink template column and change link text based on Condition
How do I create a Hyperlink column in a Datagrid which launches a pop-up window, and have the text in the hyperlink change based on a condition? I'm... -
Populate XML data based on clicked link
I think the summary may describe the problem but - I'm doing a page where a product diagram allows the visitor to select a product group. This... -
Populate form values based on previous same form fields
This message is cross posted in alt.comp.lang.php & comp.lang.javascript I have a form for a user to input an establishment's hours and what time... -
Changing hyperlink template based on data contents
I'm pretty new to all of this, so please forgive me if this is a question you've heard too many times. I'm using VS2003 and vb.net in the... -
Ken Schaefer #2
Re: How to populate a text box based on a preceding hyperlink
You can do this with client-side javascript.
Use the hyperlink to open a new window that displays the options.
When the user selects an option, use javascript to populate the text-box on
the parent window with the appropriate value and (optionally) close the
popup window.
Cheers
Ken
"ziggs" <ziggs@hotmail.com> wrote in message
news:bpk4gvc5u3f95dvgqtc3jbt846nftudubq@4ax.com...
: I have an asp form that has a text box called "colorBox". Just before
: text box is the word "Color" that is hyperlinked and will run the
: color.asp if pressed to show all of the colors in a predetermined 3
: character code. Ex., BLU for Blue.
:
: Now, what I'd like to do is have the user enter all of the data in the
: main asp form, ex. Name, address, etc. When they come to the
: "colorBox", they will be allowed to enter "BLU" by hand or click on
: the "Color" hyperlink just before the "colorBox" and show the list.
: From the list the user will pick one and that color will populate in
: the "colorBox".
:
: I don't want to use dropdown boxes, etc. I'm just using color as an
: example and I want the user to hit the database since the data changes
: from time to time.
:
: Any links to where this is shown on a website would be great. TIA
Ken Schaefer Guest



Reply With Quote

