[Maypole] search_form template? or elsewhere?

Alex McLintock alex@owal.co.uk
Thu, 03 Jun 2004 15:50:14 +0100


Thanks Simon for creating the maypole-dev list, thus leaving this one 
for users and developers alike.
--------

And now my question to the list.

If I want to have a subset of fields searchable do I simply do it in 
templates specific to that table, or is there a programatic way?

I'm trying to customise my BeerDB application (which is actually now 
SFBooksSB)

I don't want all the fields to be searchable. eg surname and firstname 
is usually enough to find an author. The others are unecessary.

I see that the search form is created in a template called "search_form".

Presumably there isn't anything like the "untaint" methods to say that 
particular columns are searchable.
If I want fewer search fields to appear then I create the appropriate 
template for this and "specialise" the list template for that table to 
actually use this new search form.

Are there any tools to help me develop better "search forms"?


Feel free to point me at docs or examples I have missed. (I am reading 
them - honest!)

Alex McLintock