At 08:56 AM 9/30/2004, you wrote:
Hi All,I've been staring at the bit of code below for about thirty minutes trying to work out why it won't do what I want it to, which is to select "UK" as the default billing country should the user not have something stored to the contrary on their account (i.e. the user has just registered):======================= <SELECT NAME=b_country onChange="this.form.submit()"> [loop option=b_country search=" ra=yes se=[default country UK] fi=country rf=code,name ml=1000 tf=name "] <OPTION VALUE="[loop-code]"> [loop-data country name] [/loop] </SELECT> =======================It prints all the options just fine but instead of defaulting to "United Kingdom" (UK) for new accounts, it's defaulting to Afghanistan (AF) which is less than optimal. It's nothing stupid, stupid problem that's I'm unable to move beyond because I've been working on this particular store for such a long time and are just trying to get all the teeny-tiny details fine-tuned.Regards, Ade.
se=foo means nothing in the above code, because you are returning all records (ra=yes).
You can set the default for any value using ValuesDefault in catalog.cfg, i.e.:
ValuesDefault country UK
- Ed
===============================================================
New Media E.M.S. Technology Solutions for Business
11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting
Fair Oaks, CA 95628 suppressed
(916) 961-0446 http://www.newmediaems.com
(866) 519-4680 Toll-Free (916) 961-0447 Fax
===============================================================
_______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.