Re: controlling form elements (slightly OT)
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 52893
interpreted = N
texte = Here's the basic JavaScript and some fields that I think demonstrates what you want to do. You will need to change the references to text field and popup menu names as needed. The form name is "f0" (that's a zero). This script also demonstrated populating popup lists via WebDNA, as well.Dave HurleyDepartment of BiologyUniversity of Washington-=-==-=-=-=-=-=-=-=- dynamically enabled field JS -=-=-=-=-=-=-=-=-=-[table name=biographic&fields=kingdom,phylum]fungiascomycetefungibascidiomyceteplantamonocotplantadicot[/table]
-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=--On Sunday, September 14, 2003, at 11:16 AM, Terry Wilson wrote:> Can someone point me to a javascript that will put focus on another > form element when a checkbox or radio button or option item is > selected? For instance, New... at the bottom of a popup list, then > when selected, a text entry box is undimmed so they can enter into it. > Or a checkbox that says New Category, then an entry box. Like radio > buttons/checkboxes in dialog boxes that give rise to more options.>> Seems like an common necessity, but I can't find a readymade, and > don't have time to figure it out with my extremely limited JS skills.>> Thanks,> Terry (I'm on digest, so a cc: to me would be appreciated)>> -------------------------------------------------------------> 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:
Here's the basic JavaScript and some fields that I think demonstrates what you want to do. You will need to change the references to text field and popup menu names as needed. The form name is "f0" (that's a zero). This script also demonstrated populating popup lists via WebDNA, as well.Dave HurleyDepartment of BiologyUniversity of Washington-=-==-=-=-=-=-=-=-=- dynamically enabled field JS -=-=-=-=-=-=-=-=-=-[table name=biographic&fields=kingdom,phylum]fungiascomycetefungibascidiomyceteplantamonocotplantadicot[/table]-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=--On Sunday, September 14, 2003, at 11:16 AM, Terry Wilson wrote:> Can someone point me to a javascript that will put focus on another > form element when a checkbox or radio button or option item is > selected? For instance, New... at the bottom of a popup list, then > when selected, a text entry box is undimmed so they can enter into it. > Or a checkbox that says New Category, then an entry box. Like radio > buttons/checkboxes in dialog boxes that give rise to more options.>> Seems like an common necessity, but I can't find a readymade, and > don't have time to figure it out with my extremely limited JS skills.>> Thanks,> Terry (I'm on digest, so a cc: to me would be appreciated)>> -------------------------------------------------------------> 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/
Dave Hurley
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:
shownext url search (2001)
formatting dates from a field ... (1997)
Web Catalog vs. ICAT (1997)
Shopping problems with 2.1b3 acgi (1997)
I don't think my install worked (2003)
Emailer Set Up (1997)
(2006)
Problem with version 4 browsers (1998)
More than one db with the same namn (was: WC2f3) (1997)
hierarchy question... (2000)
unable to launch acgi in WebCat (1997)
remotely creating and populating a stock inventory db -almost there! (1999)
OT: Version Control (2007)
Authorize.net, SIM, tcpconnect and applescript (2003)
Shopping Cart Problem (1998)
Execute Applescript (1997)
Dark Horse Comics success story (1997)
platform of the server? (2000)
Quickie question on the email templates (1997)
RE: [input] questions (1997)