[thelist] (not sgd's) Friday Freebie

McCreath_David McCreath_David at xmail.asd.k12.ak.us
Fri Mar 2 12:18:05 CST 2001


Not to steal Scott's fine tradition, but I just discovered this last night
and wanted to share it.

David

<tip type="Lasso">
If you're using the -OperatorBegin and -OperatorEnd tags to apply the same
operator to multiple fields in a Lasso search form, be sure that you give
the -OperatorEnd tag the same value as the -OperatorBegin. Some browsers
won't process an <input> tag without a value. The result is broken results
paging.

Why is this a tip? Because the Lasso documentation illustrates it
incorrectly, despite the mistake having been identified as far back as July
of 1998

The Lasso manual shows an example along these lines:

   <INPUT TYPE="hidden" NAME="-opbegin" VALUE="or">
      { ... some form stuff ... }
   <INPUT TYPE="hidden" NAME="-opend">

Not the lack of a value attribute on the -opend tag. *That will break your
results paging in some browsers.*

You need to do this intead:

   <INPUT TYPE="hidden" NAME="-opbegin" VALUE="or">
      { ... some form stuff ... }
   <INPUT TYPE="hidden" NAME="-opend" VALUE="or">

As long as you include the value attribute, the results paging function

   [Shown_NextGroup] Next [/Shown_NextGroup]

will work.
</tip>




More information about the thelist mailing list