Re: Dynamic Form - Shipping Country / State/ Province

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 67171
interpreted = N
texte = Bess, I agree, it is cool. I recently used the Dynamic Options List function 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 associated child list. The script would display an empty display list for the child. So I hacked the script a bit and added some extra code to hide the child list if it didn't have any options. Marc Bess Ho wrote: > Marc, > > 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. > > AJAX is another option. > > -----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 > > > 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. > > Another option for dependant select lists is to use AJAX. Examples for > that are available on the same website... > > Marc > > Ki Song wrote: > > >>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="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/ >> > > -- ------------------------------------------- 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/ 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)
Bess, I agree, it is cool. I recently used the Dynamic Options List function 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 associated child list. The script would display an empty display list for the child. So I hacked the script a bit and added some extra code to hide the child list if it didn't have any options. Marc Bess Ho wrote: > Marc, > > 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. > > AJAX is another option. > > -----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 > > > 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. > > Another option for dependant select lists is to use AJAX. Examples for > that are available on the same website... > > Marc > > Ki Song wrote: > > >>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="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/ >> > > -- ------------------------------------------- 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/ Marc Thompson

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:

default value from Lookup (was Grant, please help me) (1997) [WebDNA] WebDNA Driven Forum (2009) webmerch and serials - almost there (1997) [WebDNA] What Happened To Zero? (2017) Shopping Cart Questions (1998) $purchase WITHOUT creditcar (1997) WebCat2 several catalogs? (1997) Ruby on Rails (was Looping Search) (2006) Nested Loops and SHOWIFs (1997) Sorting Numbers (1997) Forms to db's and back (2005) All choices on IE different than Netscape (1997) ampersand (1998) Redirect (2003) Using Cookie for client specific info? (1997) passing search criteria (1997) Where is the bug fix info for 4.0.1? (2000) emailer truncates last letter! (1997) Re:Remote stockroom ? (1998) New Command prefs ... (1997)