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:

WebCat2b15MacPlugin - [protect] (1997) Payflow Pro help Mac OS 9 (2002) [delete] problem (1997) Who is doing sign-ups-got it (1998) b12 cannot limit records returned and more. (1997) Nested vs conditional (1997) The evolved Server Configuration Queston (2000) Multiple security dbs (1997) Almost a there but..bye bye NetCloak (1997) transferring values (1998) RE: protect tag on NT (1997) installing webcatalog problem. HELP! (1998) Only charge card when product shipped ? (1997) Error Lob.db records error message not name (1997) Multiple cart additions (1997) Width & Height (1998) WebCat2: multiple currency support (1997) Running _every_ page through WebCat ? (1997) Show based on date? (2007) [WebDNA] Still having problems (2008)