Re: Dynamic Form - Shipping Country / State/ Province

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 67172
interpreted = N
texte = It happends a lot. Where do you put the extra code to hide the child = list. I did searches but I don't seem to find it. -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Marc Thompson Sent: Thursday, May 11, 2006 12:25 PM To: WebDNA Talk Subject: Re: Dynamic Form - Shipping Country / State/ Province Bess, I agree, it is cool. I recently used the Dynamic Options List function=20 on a CF store I built. https://umarket.utah.edu/employeeservices/ Checkout the category option lists. One thing I didn't like was when the parent list didn't have an=20 associated child list. The script would display an empty display list=20 for the child. So I hacked the script a bit and added some extra code=20 to hide the child list if it didn't have any options. Marc Bess Ho wrote: > Marc, >=20 > Your reference site is very cool. I like the code that demonstrate the = dynamic option lists. This is a very clean code, compared to some of the = codes I saw from Yahoo site. Yahoo use this type for their registration. >=20 > AJAX is another option. >=20 > -----Original Message----- > From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of > Marc Thompson > Sent: Thursday, May 11, 2006 7:39 AM > To: WebDNA Talk > Subject: Re: Dynamic Form - Shipping Country / State/ Province >=20 >=20 > You may want to try using Dynamic Option Lists from Matt Kruse instead > http://www.javascripttoolbox.com/lib/dynamicoptionlist/ > It is very easy to setup and configure. >=20 > Another option for dependant select lists is to use AJAX. Examples = for=20 > that are available on the same website... >=20 > Marc >=20 > Ki Song wrote: >=20 >=20 >>Currently, our checkout page allows a customer to choose a country = from a >>drop down form. That is fine. >> >>The State selection is also a drop down form. I have included both US = States >>and Canadian Provinces in this list. >> >>Is it possible, using WebDNA (or another scripting language), = automatically >>change the State/Provice field from a drop down form to a = type=3D"text" >>depending on the country that is selected? >> >>For example, I want the drop down menu to show up when a customer = selects US >>or Canada and a text field to show up when they select any other = country. >> >>Regards, >>Ki >> >> >>------------------------------------------------------------- >>This message is sent to you because you are subscribed to >> the mailing list . >>To unsubscribe, E-mail to: >>To switch to the DIGEST mode, E-mail to = >>Web Archive of this list is at: http://webdna.smithmicro.com/ >> >=20 >=20 --=20 ------------------------------------------- Marc Thompson Software Engineer Office of Information Technology University of Utah 801.585.9264 marc.thompson@utah.edu ------------------------------------------- ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to = Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Dynamic Form - Shipping Country / State/ Province ( "Bess Ho" 2006)
  2. Re: Dynamic Form - Shipping Country / State/ Province ( Marc Thompson 2006)
  3. Re: Dynamic Form - Shipping Country / State/ Province ( Ki Song 2006)
  4. Re: Dynamic Form - Shipping Country / State/ Province ( "Bess Ho" 2006)
  5. Re: Dynamic Form - Shipping Country / State/ Province ( "Bess Ho" 2006)
  6. Re: Dynamic Form - Shipping Country / State/ Province ( Donovan Brooke 2006)
  7. Re: Dynamic Form - Shipping Country / State/ Province ( Marc Thompson 2006)
  8. Re: Dynamic Form - Shipping Country / State/ Province ( Ki Song 2006)
  9. Re: Dynamic Form - Shipping Country / State/ Province ( John Peacock 2006)
  10. Dynamic Form - Shipping Country / State/ Province ( Ki Song 2006)
It happends a lot. Where do you put the extra code to hide the child = list. I did searches but I don't seem to find it. -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Marc Thompson Sent: Thursday, May 11, 2006 12:25 PM To: WebDNA Talk Subject: Re: Dynamic Form - Shipping Country / State/ Province Bess, I agree, it is cool. I recently used the Dynamic Options List function=20 on a CF store I built. https://umarket.utah.edu/employeeservices/ Checkout the category option lists. One thing I didn't like was when the parent list didn't have an=20 associated child list. The script would display an empty display list=20 for the child. So I hacked the script a bit and added some extra code=20 to hide the child list if it didn't have any options. Marc Bess Ho wrote: > Marc, >=20 > Your reference site is very cool. I like the code that demonstrate the = dynamic option lists. This is a very clean code, compared to some of the = codes I saw from Yahoo site. Yahoo use this type for their registration. >=20 > AJAX is another option. >=20 > -----Original Message----- > From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of > Marc Thompson > Sent: Thursday, May 11, 2006 7:39 AM > To: WebDNA Talk > Subject: Re: Dynamic Form - Shipping Country / State/ Province >=20 >=20 > You may want to try using Dynamic Option Lists from Matt Kruse instead > http://www.javascripttoolbox.com/lib/dynamicoptionlist/ > It is very easy to setup and configure. >=20 > Another option for dependant select lists is to use AJAX. Examples = for=20 > that are available on the same website... >=20 > Marc >=20 > Ki Song wrote: >=20 >=20 >>Currently, our checkout page allows a customer to choose a country = from a >>drop down form. That is fine. >> >>The State selection is also a drop down form. I have included both US = States >>and Canadian Provinces in this list. >> >>Is it possible, using WebDNA (or another scripting language), = automatically >>change the State/Provice field from a drop down form to a = type=3D"text" >>depending on the country that is selected? >> >>For example, I want the drop down menu to show up when a customer = selects US >>or Canada and a text field to show up when they select any other = country. >> >>Regards, >>Ki >> >> >>------------------------------------------------------------- >>This message is sent to you because you are subscribed to >> the mailing list . >>To unsubscribe, E-mail to: >>To switch to the DIGEST mode, E-mail to = >>Web Archive of this list is at: http://webdna.smithmicro.com/ >> >=20 >=20 --=20 ------------------------------------------- Marc Thompson Software Engineer Office of Information Technology University of Utah 801.585.9264 marc.thompson@utah.edu ------------------------------------------- ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to = Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ "Bess Ho"

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

japanese characters (1997) Running a store on BOTH http and https (1998) Re(4): Small Bug: ErrorLog.txt/[FORMVARIABLES]/[ORDERFILE] (1998) More on the email templates (1997) [random] only for 1-100??? (1997) Word wrapping (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) 5.1: Can't enter serial number (2004) Getting Emailer to send mail (1997) HELP WITH DATES (1997) Linux Beta4 Problem (2000) Server crash (1997) [WebDNA] Listfields in an input environment (2018) WebCatalog/WebMerchant Manuals Available (1998) [SearchString] usage (1997) Re:quit command on NT (1997) Copyright ? (1997) More Applescript (1997) Displaying text and populating form fields (again) (2005) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)