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 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.

By Jason - February 18, 2013

Hi Jac,

Try changing your code to this:

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

Hope this helps

---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/