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:

Toronto area? (1999) Plugin or CGI or both (1997) setting taxable to true (1997) A Global Variable (1997) [include ...] behavior (1997) Date problems (1997) Grep help, please ... (2003) Summary search -- speed (1997) Running 2 two WebCatalog.acgi's (1996) About the mailer (2002) possible, WebCat2.0 and checkboxes-restated (1997) Test (2003) Error Lob.db records error message not name (1997) WebCat2 - [include] tags (1997) [WebDNA] Apache 2 httpd.conf Question (2008) BBEdit and WebCatalog 2.0? (1997) Emailer setup (1997) trouble updating records in database (1998) $purchase vs [purchase] (1999) Trigger to restart Webcat Service (2001)