Filter results based on search form input (Viewer Options,Allow Searching)

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

Re: [kkegans] Filter results based on search form input (Viewer Options,Allow Searching)

By Donna - July 18, 2008

Hi Kurt!

Setting up a search in CMS Builder is pretty simple. :) The most important part is going to be the <form> tag -- you'll want something like this:

<form action="listPage.php" method="post">

...where "listPage.php" is any "List" style viewer file that will be used for the output. I often use the same listing page that I've already created to show all of my listings.

Beyond that, the elements are setup the same as any form. The "name" of each field will be the field name you setup in the Admin. So, if you have a field called "Summary" that you want to search, you'd have something like this:

Summary: <input type="text" name="summary">

Everything else is just standard HTML. :)

I hope this helps! Let me know if you have any other questions or concerns.
Donna

--
support@interactivetools.com

Re: [kkegans] Filter results based on search form input (Viewer Options,Allow Searching)

By Dave - July 18, 2008

Hi Kurt,

Also, you can find the search documentation online here:
http://www.interactivetools.com/docs/cmsbuilder/viewer_search.html

Let me know if you have any questions about how it works.

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Filter results based on search form input (Viewer Options,Allow Searching)

By kkegans - July 18, 2008

Thanks Dave,

That link really helped. I don't know why I had not seen that in the online doc.......

Kurt
CMSB Rocks!
Thanks,
Kurt