AnsweredAssumed Answered

Value List Constraint with Id and Label.

Question asked by ericc on Apr 8, 2009
Latest reply on May 13, 2009 by ericc
I followed the post on Jean Barmash's blog to have dynamic value list. And it works fines.

Now I would like to have a value list displaying a label and recording an ID.
I would like to have a select like this :
<select id="country">
  <option value="fr">France</option>

I searched wiki, forum, … and don't find how to dos this.
In my constraint I can get Label and Values separated but I don't know how to separate them at the display.

Thanks for your help.