OutFront Forums
     Home    Register     Search      Help      Login    

Follow Us
On Facebook
On Twitter
RSS
Via Email

Recent Posts
Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

Sponsors
Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.
Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

 

Adding original search text

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP, PHP, and Database >> Adding original search text
Page: [1]
 
Nick0123

 

Posts: 7
Joined: 9/30/2002
Status: offline

 
Adding original search text - 9/30/2002 11:02:21   
In the DRW I would like to pass the selections made in a search, from the drop down boxes and text boxes, to appear as the new search selections on the results page. At present all that happens is that the new search selections get reset to the default settings.

Any ideas on how to go about this?
Spooky

 

Posts: 26681
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Adding original search text - 9/30/2002 16:03:05   
In the results page, youd need to use a little bit of asp in the select and text boxes .

<select name=SearchFormName etc>

<option <%If request.form(" SearchFormName" ) = " this value"  then response.write "  selected" %>>This value</option>

<option <%If request.form(" SearchFormName" ) = " that value"  then response.write "  selected" %>>That value</option>

</select>


The textbox would simply be to enter this code into the " value" of the text box:

<%=request.form(" TextBoxName" )%>


The names used should be the same names from the previous page

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

Sp:)ky


(in reply to Nick0123)
Nick0123

 

Posts: 7
Joined: 9/30/2002
Status: offline

 
RE: RE: Adding original search text - 10/1/2002 5:10:16   
Thanks, thats fine.

(in reply to Spooky)
Page:   [1]

All Forums >> Web Development >> ASP, PHP, and Database >> Adding original search text
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts