search 2 fields code

4 posts by 3 authors in: Forums > CMS Builder
Last Post: February 18, 2013   (RSS)

By esupport - February 4, 2013

I would like to search 2 fields on my site.

This is the search field code.

<form method="POST" action="searchResults.php">
<input name="title_keyword" type="text" value="" size="16">
<input type="submit" name="submit" value="Search" class="btn">
</form>

If I want to search "title field" & "intro field".

Can I modify the code like this?

<input name="title_keyword, intro_keyword" type="text" value="" size="16">

Thanks!

Jac

-Jax H.

By gregThomas - February 4, 2013 - edited: February 4, 2013

Hi Jac,

Your very close! You just need to modify your code to look like this:

You can read more on how to use the search system here:

http://www.interactivetools.com/docs/cmsbuilder/viewer_search.html

Thanks!

Greg

Greg Thomas







PHP Programmer - interactivetools.com

By esupport - February 4, 2013 - edited: February 4, 2013

Hi Gerg

Wonderful and great!

The URL you posted 404 not found

I think It might be http://www.interactivetools.com/docs/cmsbuilder/viewer_search.html 

I tried to study the guide.   not really understand how to use it on my code.

So I posted my question here.

Thanks a again!

Jac

-Jax H.