Quantcast
Viewing all articles
Browse latest Browse all 14

Help With Making A Simple "If / Then" Search Box

Hi,

 

I know search boxes can be very complicated, but I would like to at least be able to run a very basic search on the website I'm working on.

 

I already have the search box made and the form setup.  But, I'm not familiar enough with forms to go any further.

 

What I would like is if the customer enters in a certain word, it will take them to a specifc URL.  If their word is not located, it will take them to a "sorry" page.

 

Example:  If a customer does a search for "fabric", it will take them to the respectful URL "...fabric.html"

 

But, if a customer does a search for "video games", it will take them to a URL "...no_results_found.html" that I will have made up stating, "We're sorry, but your search did not turn up any results".

 

This seems basic and simple enough to at least get something going on the website until I can learn a little bit more and improve it.

 

Thanks in advance for any help!!  I really appreciate it!! Image may be NSFW.
Clik here to view.

 

Blake


Viewing all articles
Browse latest Browse all 14

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>