Forms

A

Andie

Hello

Can the following be done, I have tried to do it but without success

Basically I have a form, where I have 6 option boxes,
say Option box 1 has 3 options in it, being A,B,C. Is the a script around
than when a user selects an option them form gets reloaded with the same
option boxes, but between the first two option boxes a Text box appears with
a certain label, this labels is altered depenging on the users selection.

i.e

+---------------------------------------------------------+
| [OPTION BOX 1] (containing options A,B,C) |
|
|
|
|
| [OPTION BOX 2] (containing options A,B,C) |
|
|
+---------------------------------------------------------+

If a users selects option b in option box 1 then the form reloads like this

+---------------------------------------------------------+
| [OPTION BOX 1] (option B selected) |
| <label B> <textbox>
|
|
|
| [OPTION BOX 2] (containing options A,B,C) |
|
|
+---------------------------------------------------------+

I hope you understand what I am trying to do...


--
To reply, remove "TRASH" from email address

Thanks,

Andie
 
A

Andie

No Offence taken,

Actually I have heard that before, anyhow I have done what I was wanting to
do with basically doing this:

<select onChange="location.href=this.options[selectedIndex].value"
name="D3">
<option value="apple.asp?abc=1" <%=checkMatch(abc,"1")%>>A</option>
</select>

when the option changes, the script reloads apple.asp with an "?abc=1" or
whatever option I choose.

then just after the <select> tag above, I have placed an <if> tag to check
the value of abc, which results in a certain task being performed.

I have also placed "abc = Request.QueryString("abc")" to capture the value
of abc

It seems to work ok, but thanks for your input
--
To reply, remove "TRASH" from email address

Thanks,

Andie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,083
Messages
2,570,589
Members
47,211
Latest member
JaydenBail

Latest Threads

Top