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 OfMarc ThompsonSent: Thursday, May 11, 2006 12:25 PMTo: WebDNA TalkSubject: Re: Dynamic Form - Shipping Country / State/ ProvinceBess,I agree, it is cool. I recently used the Dynamic Options List function=20on 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=20associated child list. The script would display an empty display list=20for the child. So I hacked the script a bit and added some extra code=20to hide the child list if it didn't have any options.MarcBess 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 ThompsonSoftware EngineerOffice of Information TechnologyUniversity of Utah801.585.9264marc.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:
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 OfMarc ThompsonSent: Thursday, May 11, 2006 12:25 PMTo: WebDNA TalkSubject: Re: Dynamic Form - Shipping Country / State/ ProvinceBess,I agree, it is cool. I recently used the Dynamic Options List function=20on 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=20associated child list. The script would display an empty display list=20for the child. So I hacked the script a bit and added some extra code=20to hide the child list if it didn't have any options.MarcBess 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 ThompsonSoftware EngineerOffice of Information TechnologyUniversity of Utah801.585.9264marc.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:
Databases inside [SHOWIF] (1998)
[OT] Happy Turkey Day! (2003)
POSTing to a secure server ... (2000)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
serial number generation (1997)
Problem with [math] (2000)
no global [username] or [password] displayed ... (1997)
For those of you not on the WebCatalog Beta... (1997)
Admin User - Users.db (1999)
Date Calulation (1997)
Version 4? (2000)
Re:Searchable Archives (1998)
Search Command, multiple dbs, etc. --Right! (2000)
and vs or vs not (1998)
WC2.0 Memory Requirements (1997)
When will this BUG be fixed -- or at least LOOKED AT ... ? (2002)
Bug Report, maybe (1997)
Download URL & access on the fly ? (1997)
Speed Test Results Dell 2650 Xeon 2.4ghz (2002)
Order not created error (1997)