Wednesday 31 May 2006 2:48:08 pm
Hi, I got it wrong, sorry
can attribute_filter works with selection datatype?
Yes, it is possible, but U should use:
'attribute_filter', array( array( 299, '=', VALUE ) )
where VALUE starts from 0. (with selection datatype (with single choice, I never tested with multiple) options have value from 0) ex. for
<select name="aaa">
<option value="0">Commerciale 1</option>
<option value="1">Commerciale 2</option>
<option value="2">Commerciale</option>
</select>
use:
(for string 'Commerciale') 'attribute_filter', array( array( 299, '=', 2 ) ) or better
'attribute_filter', array( array( 299, '=', ezhttp( 'aaa', 'post' ) ) )
http://ez-publish.pl
|