Developer forum

Forum » Templates » Custom search field problem

Custom search field problem


Reply

Hi

 

As allways am I doing something not completly right.

 

Try to make a simple search.

http://endometrioseforeningen.net.dynamicweb.dk/Default.aspx?AreaID=1

 

Iam using almost the same form as the one from the standard DW searchbox template.

 

What am I missing?

 

- Rasmus

 


Replies

 
Reply

Hi Rasmus

 

Try adding '&q=endometriose' to your URL ...

 

// Sebastian

 
Reply
Dammark wrote:

Hi Rasmus

 

Try adding '&q=endometriose' to your URL ...

 

// Sebastian


Thank you sooo much

 
Reply
rs@condurra.dk wrote:
Dammark wrote:

Hi Rasmus

 

Try adding '&q=endometriose' to your URL ...

 

// Sebastian


Thank you sooo much


Wait that was to early. :)

 

I thought that I could just paste '&q=endometriose' directly in the form.

 

But surely i couldn't do that.

 

<!-->

<form method="post" name="SearchFrame1" id="SearchFrame1" action="Default.aspx?ID=26" style="float:left;border:0px solid black;"> 
      <input type="hidden" name="CurrentPage" id="CurrentPage" value="1">
      <input type="text" name="txtSearch" id="txtSearch" style="float:left;margin-top:2px;margin-left:0px;font-family: arial; font-size: 12px; background-color:transparent; color:#000000; position: relative; width: 120px; height: 16px; border: 1 solid #bbbdc0; padding-top: 15px; padding-right: 0; padding-top: 0; padding-bottom: 1" size="12" onfocus="if(this.value=='Søg')this.value='';" onblur="if(this.value=='')this.value='Søg';" value="Søg">
      <input type="image" src="files/Billeder/sog.jpg" name="txtSubmitSearch" id="txtSubmitSearch" style="border:0px solid blue;width:25px;height:26px;margin-left:7px;float:left;margin-top:-3px;">
     </form>

 

<!-->

 

 
Reply

Try changing your method to get ...

 

// Sebastian

 
Reply
Dammark wrote:

Try changing your method to get ...

 

// Sebastian


Thank you again Sebastian and have a nice weekend.

 

You must be logged in to post in the forum