<br>I don&#39;t know if the subject  best describe the message but here are my issues:<br><br>I have a group of pages created with wikiforms, so what we have are variables on the form    :variable: data<br><br>There are a few ones where I use checkboxes so what I then have is something like this:    :variable: opt1,opt2,opt3<br>

<br><br>I need no to do is to make a pagecount for these variables with checkboxes. I have not been able to make an accurate count yet. It should be easy, probably somebody else hade done already and could give me some hints.<br>

<br>Here is my pagelist to produce a simple Pagecount<br><br>(:if false:)<br>[[#template]]<br>(:template first:)<br>(:template each:)<br>(:template last:)<br>{$$ PageCount}<br>[[#templateend]] <br>(:if:)<br><br>Here Only pages with Opt1 but not opt2 or opt3 are counted  (:pagelist   $:Variable=Opt1 group=Test  fmt=#template:) <br>

<br>Here Pages with opt1 and opt2 are counted but it will also count the ones with the 3 options set at the same time <br>(:pagelist   $:Variable=Opt1,Opt2 group=Test  fmt=#template:) <br><br>Here to solve above problem (:pagelist   $:Variable=-Opt3 group=Test  fmt=#template:) <br>

<br>How can I make the pagelist to count the pages for any combination of the options (opt1 only, opt2 Only, opt1 and opt2, opt3 and opt1 , etc) ?<br>Please any hints appreciated, conditionals are welcome.<br><br>Regards,<br>

edwin<br><br>