If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > request.form("xxxx") problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-04-04, 02:32
michaelfg81 michaelfg81 is offline
Registered User
 
Join Date: Mar 2004
Posts: 202
request.form("xxxx") problem

Hi there,

I got here one little quetion which involve loading in the same form.
I got this one file of html which consist of asp codes.

the structure of the code is as follow:

<html>
<body>
<form action="this html file"....>
<input type="image" src="xxx" value="search" name="btnSearch">
</form>
<%if request("btnSearch")="search"%>
statement and codes...................
<%end if%>
</body>
</html>

the question here is how come when i press the image button, the value request("btnSearch") return empty instead of "search"?

thanx
Reply With Quote
  #2 (permalink)  
Old 08-04-04, 16:00
gyuan gyuan is offline
Registered User
 
Join Date: Dec 2003
Posts: 454
<input type="image" src="xxx" value="" name="btnSearch">
Reply With Quote
  #3 (permalink)  
Old 08-04-04, 18:48
Seppuku Seppuku is offline
Useless...
 
Join Date: Jul 2003
Location: SoCal
Posts: 721
Are you trying to make the "Search" button an image? Why do you need to pass a value in the button itself? Why not simply put it in a hidden form type or the query string of the form post?
__________________
That which does not kill me postpones the inevitable.
Reply With Quote
  #4 (permalink)  
Old 08-04-04, 19:05
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
Has anyone else noticed how this thread has a weird name in the subscribed threads list of the user control panel??
Reply With Quote
  #5 (permalink)  
Old 08-04-04, 19:10
Seppuku Seppuku is offline
Useless...
 
Join Date: Jul 2003
Location: SoCal
Posts: 721
Seems ok to me.. what are you smoking, and why aren't you sharing...
__________________
That which does not kill me postpones the inevitable.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On