@aditsss OK Thanks for clarifying the requirement. Try something like this (now with All option): ...
<row>
<panel>
<input type="multiselect" token="panels">
<label>Select one or more panels</label>
<choice value="All">All</choice>
<choice value="merchant">merchant</choice>
<choice value="force">force</choice>
<choice value="one">one</choice>
<choice value="force2">force2</choice>
...
<default>All</default>
<change>
<eval token="form.panels">case(mvcount('form.panels')=0,"All",mvcount('form.panels')>1 AND mvfind('form.panels',"All")>0,"All",mvcount('form.panels')>1 AND mvfind('form.panels',"All")=0,mvfilter('form.panels'!="All"),1==1,'form.panels')</eval>
<eval token="merchant">if(isnull(mvfind('form.panels',"merchant")),mvfind('form.panels',"All"),1)</eval>
<eval token="force">if(isnull(mvfind('form.panels',"force")),mvfind('form.panels',"All"),1)</eval>
<eval token="one">if(isnull(mvfind('form.panels',"one")),mvfind('form.panels',"All"),1)</eval>
<eval token="force2">if(isnull(mvfind('form.panels',"force2")),mvfind('form.panels',"All"),1)</eval>
...
</change>
</input>
</panel>
</row>
...
<panel depends="$merchant$">
...
<panel depends="$force$">
... Things to note: the evals have to be on single lines (no line breaks); the first eval removes "All" if anything else is selected, and adds it if nothing is selected; it doesn't matter what the token is set to so I am setting them to 1 (or null if not selected); setting a token to null is the same as unsetting it.
... View more