[ic] Retrieving Search Element Values
Peter
peter at pajamian.dhs.org
Thu Feb 19 02:53:16 UTC 2009
On 02/18/2009 03:16 PM, rapier wrote:
> I'm trying to find a reasonable way of retrieving search element values
> from a search request.
>
> For example, say I have a site that sells various types of widgets and
> geegaws. The product list would include
> Flavor Class
> Heavy Widget
> Plastic Widget
> Bouncy Widget
> Fluffy Widget
> Heavy Geegaw
> Silly Geegaw
> Metal Geegaw
> Bouncy Geegaw
>
> Every time someone searches for a widget I'd like to display a specific
> block of text. When they search for Geegaws I don't want that text
> displayed. Likewise, if they are searching for anything Heavy I don't
> want to display the text.
>
> Essentially what I'm looking for is some method to use in the results
> page to determine what the mv_search_field and mv_searchspec was.
[value mv_search_field] [value mv_searchspec]
If it's a coordinated search with more than one searchspec then you can
specify the index of a particular one with the [value-extended] tag:
[value-extended name=mv_searchspec index=0]
Peter
More information about the interchange-users
mailing list