|
|
 |
Re: FN-FORUM: search.pl help
date posted 8th March 2006 08:31
Catherine Hutchinson wrote:
>
> I have a form that uses this:
>
>
> Text to Search For:
> Boolean:
> AND
> OR
> Case
> Insensitive
> Sensitive
>
>
>
> to call a script.
>
> However the customer doesn't like the fact that it asks you to choose
> 'and' or 'or' and 'insensitive' or 'sensitive'. However if I just
> comment out these items or remove them from the form the results page
> doesn't display any results.
>
> My question is, is there a line of code that I can include in the
> action line or somewhere that tells the results page which options
> have been chosen by default without having the options appear on the
> page. Or will I have to get the perl script rewritten to make this
> happen? If the latter is there anyone on this list that wants to
> change a PERL script and if so how much do you charge?
>
Hi Catherine,
as a quick hack
you could try making the values for case and boolean to hidden, and
set then to AND and insensitive,
that should will the scope of the search but should leave your perl
script intact.
if you just comment out the variables on the form the perl script will
fail because it is not getting its expected parameters.
HTH
Carrie
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.2.0/275 - Release Date: 06/03/2006
|
 |
|