Michel, The uniqueValuesFor in a select box is giving me just the first letter of the indexed values. Can you recreate this? For example: <SELECT NAME="company_city" size="5" MULTIPLE> <!--#in expr="Catalog.uniqueValuesFor('company_city')"--> <OPTION VALUE="<!--#var sequence-key-->"> <!--#var sequence-key--> </OPTION> <!--#endin--> </SELECT> gives me: <SELECT NAME="company_city" size="5" MULTIPLE> <OPTION VALUE=""> </OPTION> <OPTION VALUE="L"> L </OPTION> </SELECT> I only have one object with the copany_city indexed right now and it's properties shows the full name "Los Angeles". I'll submit this to the collector if you can reproduce it. Best wishes, Jason Spisak webmaster@mtear.com
Jason Spisak wrote:
Michel,
The uniqueValuesFor in a select box is giving me just the first letter of the indexed values. Can you recreate this? For example:
<SELECT NAME="company_city" size="5" MULTIPLE> <!--#in expr="Catalog.uniqueValuesFor('company_city')"--> <OPTION VALUE="<!--#var sequence-key-->"> <!--#var sequence-key--> </OPTION> <!--#endin--> </SELECT>
try using sequence-item instead of sequence-key. That should solve it. -Michel
gives me:
<SELECT NAME="company_city" size="5" MULTIPLE> <OPTION VALUE="">
</OPTION> <OPTION VALUE="L"> L </OPTION> </SELECT>
I only have one object with the copany_city indexed right now and it's properties shows the full name "Los Angeles". I'll submit this to the collector if you can reproduce it.
Best wishes,
Jason Spisak webmaster@mtear.com
participants (2)
-
Jason Spisak -
Michel Pelletier