|
|
 |
Re: FN-FORUM: search.pl help
date posted 8th March 2006 08:49
Thanks Carrie, and Tony for your offlist comment. It is now sorted with
'hidden' fields.
Many thanks for your help.
Catherine
Carrie wrote:
>
> 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
>
>
>
--
************************************
Webunlimited
Beechcroft, Pensile Road
Nailsworth, GLOS GL6 0AL
tel: +44 (0) 1453 832983
mobile: +44 (0)771 7778282
fax: 07050 687656
web: www.webunlimited.co.uk
Registered in England and Wales - Company no. 4544215
|
 |
|