Dear Dan,<br><br>Two questions/suggestions. <br>1/ What about (:zap condition=&quot;something&quot; action=&quot;field=value&quot;:)? <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 &lt;<a href="mailto:editor@fast.st">editor@fast.st</a>&gt;:</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 &lt;<a href="mailto:step.list+pmwiki@gmail.com">step.list+pmwiki@gmail.com</a>&gt; wrote:<br>&gt; The Editor wrote:<br>&gt;<br>&gt; &gt; Also, I had hoped to allow multiple actions to occur when a condition
<br>&gt; &gt; is passed, something like this:<br>&gt; &gt;<br>&gt; &gt; (:zap if=&quot;condition||field=value,field=value,field=value&quot;:)<br>&gt; &gt;<br>&gt;<br>&gt; parenthesized maybe?<br>&gt; (:zap if=&quot;condition||(field=value)(field=value)(field=value)&quot;:)
<br><br>Not sure how to easily explode this... But maybe...<br><br>&gt; or some character sequence of sorts, can&#39;t explode handle that?<br>&gt; (:zap if=&quot;condition||field=value.@.field=value.@.field=value&quot;:)
<br>&gt;<br>&gt; And then maybe you could use something like .@@. to replace the double<br>&gt; pipe?<br>&gt;<br>&gt; (:zap if=&quot;condition.@@.field=value.@.field=value.@.field=value&quot;:)<br><br>A possibility.&nbsp;&nbsp;We&#39;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>