This question about Not sure...: Asked
Hi,
I've tried many things already, but I just can't find what I need. Next, I want to inclue it into a search result, which always produces a mess (probably because I'm confusign the use of the " and the $quot symbols.)
Question: How can I search for empty fields in a form?
It works somehow in my WebLeftbar
%IF{
"istopic 'NL.%FORMFIELD{"NederlandsTopicName" topic="%BASEWEB%.%BASETOPIC%" default="empty" alttext="alt"}%'"
then="[[NL.%FORMFIELD{"NederlandsTopicName" topic="%BASEWEB%.%BASETOPIC%" default="empty" alttext="alt"}%][%FORMFIELD{"NederlandsTopicName" topic="%BASEWEB%.%BASETOPIC%" default="empty" alttext="alt"}%]]"
else="[[NL.Hoofdpagina][%MAKETEXT{"Hoofdpagina"}%]]"
}%
But how can Include that into my search results (i.e. diaplayed in the format-line)?
What I like to have here is
IF $topic-formfield(blabla)= empty THEN $topic
%SEARCH{
"NederlandsTopicName"
excludetopic="*Template,Web*,*Form"
type="query"
web="En"
header="|*Bron*|*Engels*|*Nederlands*|"
format="$percentIF{$quotistopic '$formfield(NederlandsTopicName)'$quot then=$quot<nop>$quot else=$quot|[[En.$topic?raw=on][Brontekst kopieeren]]|[[En.$topic][$topic]]|[[$formfield(NederlandsTopicName)]]|$quot}$percent"
nonoise="on"
nototal="on"
order="topic"
}%
I guess that's asimple step for you experts, I am not an expert :-)
--
LieVen - 15 Aug 2014