[ic] Asterisk(*), and selected item needed in select menu

Ed LaFrance interchange-users@lists.akopia.com
Tue Jun 5 11:55:00 2001


At 03:41 AM 06/05/2001 -0400, you wrote:
>I am presently setting up a store in which the owner uses an asterisk(*) to
>identify special order options in the options select pulldowns, specifically
>musical keys for harmonicas. [ic] uses (*) to identify the selected item in
>a comma sep list. Is there an easy way to escape this, or should I just talk
>my client into using some other identifier.
>
>The list looks like this: field name is key
>
>,A,Bb*,C,F#
>
>ideally the output would be:
>
><SELECT Name="mv_order_key">
>     <OPTION Value="">           ##<-- blank is intentional
>     <OPTION Value="A">A
>     <OPTION Value="Bb*">Bb*
>     <OPTION Value="C">C
>     <OPTION Value="F#">F#
></SELECT>
>
>but Bb becomes the selected, or it gets totally confused if there are more
>than one of the keys with (*) Is there an easy way to escape this?
>
>I'd also like to make the select_widget available for the buyer to make
>choice in the item display, and the customers choice to be the selected
>value when the select_widget appears in the cart and/or checkout, rather
>than just having the select_widget appear in checkout only.
>
>Thanks in advance for any specific code.
>

Try using the HTML entity for asterisk: &#42;

- Ed L.




===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================