Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FORM NOT WORKING - HELP

Status
Not open for further replies.
Hey, I have a quick questions .. if I use this, like what it says on the website:

<input type=&quot;submit&quot; name=&quot;join&quot; value=&quot;I want to join now&quot;>
<input type=&quot;submit&quot; name=&quot;info&quot; value=&quot;Please send full details&quot;>


which one do i use in my results page since i also have:
<select name=&quot;SearchState&quot;>

for the dropdown which is what i currently use?

please help.
thanks
 
I don't really get your point.

In the result page, you will have a value for the button you pressed, like

join=I+want+to+join+now

an the name of the other button will not appear at all.

Was that you question?

Vlad
 
Your page does seem to be sending the data however, there are some funnies in your page. First of all you shouldnt have the submit image and the select box with the same name, thats bad practice. They should,in most cases,only have the same name if its an indexed control such as a radio button.

Your second page seems to read through all the select boxes to determine if any has returned a value, in your example all the select boxes can return a value. You can use scripting to blank all the other select boxes when a change is made to one of the select boxes
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top