Forums / Developer / php: change enum value / Comment39940
Bård Farstad
Thursday 19 February 2004 3:06:15 am
In the ezselection datatype we just store the id's of the selections in the data_text field as a string. If you have multiple values you need to use a - character as a space. E.g. "1-3" where the id's 1 and 3 are selected.
This can done with the setAttribute( 'data_text', '1-3' );
--bård
Documentation: http://ez.no/doc