Dear Dan,<br><br>Two questions/suggestions. <br>1/ What about (:zap condition="something" action="field=value":)? <br>2/ Would it be possible to chain such entries within the same zapform (for inclusion in pagelist templates)? With such a solution, you would not have to handle several actions per entry.
<br><br>Cheers,<br><br>Benoit<br><br><br><div><span class="gmail_quote">2007/3/8, The Editor <<a href="mailto:editor@fast.st">editor@fast.st</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 3/8/07, SteP <<a href="mailto:step.list+pmwiki@gmail.com">step.list+pmwiki@gmail.com</a>> wrote:<br>> The Editor wrote:<br>><br>> > Also, I had hoped to allow multiple actions to occur when a condition
<br>> > is passed, something like this:<br>> ><br>> > (:zap if="condition||field=value,field=value,field=value":)<br>> ><br>><br>> parenthesized maybe?<br>> (:zap if="condition||(field=value)(field=value)(field=value)":)
<br><br>Not sure how to easily explode this... But maybe...<br><br>> or some character sequence of sorts, can't explode handle that?<br>> (:zap if="condition||field=value.@.field=value.@.field=value":)
<br>><br>> And then maybe you could use something like .@@. to replace the double<br>> pipe?<br>><br>> (:zap if="condition.@@.field=value.@.field=value.@.field=value":)<br><br>A possibility. We'll see if there are any other suggestions first...
<br><br>Cheers,<br>Dan<br><br>_______________________________________________<br>pmwiki-users mailing list<br><a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br><a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">
http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br></blockquote></div><br>