ignore form field keywords

3 posts by 2 authors in: Forums > CMS Builder
Last Post: May 4, 2010   (RSS)

By hk - May 3, 2010 - edited: May 4, 2010

I try to ignore submitted form field keywords with methode POST.
Even there is a where clause it reads the form field keywords.
How to do this?

list($st_agentRecords, $st_agentMetaData) = getRecords(array(
'tableName' => 'st',
'where' => 'num > 0',
'orderBy' => 'agency',
));

Re: [Jason] ignore form field keywords

By hk - May 4, 2010

Hi Jason,

This works, Thank you.

The CMS online documentation
http://www.interactivetools.com/docs/cmsbuilder/viewer_search.html
in the Search Engine section on the bottom of the page says:

Note that any form field keywords will be ignored if a 'where' option is specified.


Maybe this does not work always.