Question
How can I write a custom %SEARCH% that look for all forms that have a particular value in field?
Environment
--
TWikiGuest - 05 Jul 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Look for example at the raw text of the
AskedQuestions topic, it searches for all form fields named
SupportStatus with value
AskedQuestions. Here is the source:
%<nop>SEARCH{ "[S]upportStatus.*value\=.*[A]skedQuestions" casesensitive="on" regex="on" nosearch="on" noheader="on" order="modified" format="%SUPPORT_SEARCH_FORMAT%" }%
Please read the details in
VarSEARCH and
FormattedSearch.
--
PeterThoeny - 06 Jul 2006
Also have a look at
SearchPatternCookbook which covers this and similar use cases.
--
LynnwoodBrown - 06 Jul 2006