Home : Products : Gossamer Links : Development, Plugins and Globals :

Products: Gossamer Links: Development, Plugins and Globals: Re: [startpoint] Adding New Search Fields?: Edit Log

Here is the list of edits for this post
Re: [startpoint] Adding New Search Fields?
Hi,

Well i think the code Alex provided with 'or' (instead of and) was ok, but because i use more than 1 argument it still pass with a empty search. So the code have to be a bit different.

1. Title must not be empty and bigger then 2 characters

2. I will use more arguments then 1.

When i only use Title=someting it works good i quess, but with more arguments the code isn't right...

I don't know the solution yet.



So basically i wanna do:

search.cgi?Title=mac&Link_ok=Yes&print=no&other=1

Then is will display records if it will be found, but with search:

search.cgi?Title=&Link_ok=Yes&print=no&other=1

so Title = empty (or < 3 characters) it must not display a record and it will display the search.html template...

Hope someone can help me with this.



Allready thanks.

Last edited by:

startpoint: Jan 23, 2003, 5:32 AM

Edit Log: