Raphaelx
08-28-2011, 08:21 AM
is there a more practical way to output multi select profile fields? :(
<vb:if condition="$post['field7']">
<vb:if condition="$post['field7'] & 1">Option1, </vb:if>
<vb:if condition="$post['field7'] & 2">Option2, </vb:if>
<vb:if condition="$post['field7'] & 4">Option3, </vb:if>
<vb:if condition="$post['field7'] & 8">Option4, </vb:if>
<vb:if condition="$post['field7'] & 16">Option5, </vb:if>
<vb:if condition="$post['field7'] & 32">Option6, </vb:if>
<vb:if condition="$post['field7'] & 64">Option7, </vb:if>
<vb:if condition="$post['field7'] & 128">Option8, </vb:if>
<vb:if condition="$post['field7'] & 256">Option9, </vb:if>
<vb:if condition="$post['field7'] & 512">Option10, </vb:if>
</vb:if>
<vb:if condition="$post['field7']">
<vb:if condition="$post['field7'] & 1">Option1, </vb:if>
<vb:if condition="$post['field7'] & 2">Option2, </vb:if>
<vb:if condition="$post['field7'] & 4">Option3, </vb:if>
<vb:if condition="$post['field7'] & 8">Option4, </vb:if>
<vb:if condition="$post['field7'] & 16">Option5, </vb:if>
<vb:if condition="$post['field7'] & 32">Option6, </vb:if>
<vb:if condition="$post['field7'] & 64">Option7, </vb:if>
<vb:if condition="$post['field7'] & 128">Option8, </vb:if>
<vb:if condition="$post['field7'] & 256">Option9, </vb:if>
<vb:if condition="$post['field7'] & 512">Option10, </vb:if>
</vb:if>