Re: search function
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 62310
interpreted = N
texte = If I'm reading you correctly....You'll need client side programming to do the auto-populating (i.e., javascript). The problem here is that when the page is displayed, it first does all the server-side functions (i.e., the WebDNA). *After* the page is loaded into the client's browser, *then* any javascript is processed. Thus, it can't go back and look up WebDNA (server-side) stuff *unless* you reload the page, thus the search button.Maybe somebody has a suggestion - I know that Flash has been used with WebDNA in this manner.GJKAt 08:22 PM 6/21/2005, you wrote:>I've inherited a WebDNA driven website and have no experience with it.>>I have a page with three fields, the first is a drop-down list and the other>two fields display values linked to what's selected in the first field. All>these values are stored in a webdna db table. Currently the user makes a>selection in the first field and then clicks the search button to get the>correct values in the next two fields. I want them to choose a value in the>first field and have the other two fields populated automaticaly; thus>eliminating the search button.>>The code is pasted below, any suggestions are appreciated,>>Jared-------------------------------------------------------------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:
If I'm reading you correctly....You'll need client side programming to do the auto-populating (i.e., javascript). The problem here is that when the page is displayed, it first does all the server-side functions (i.e., the WebDNA). *After* the page is loaded into the client's browser, *then* any javascript is processed. Thus, it can't go back and look up WebDNA (server-side) stuff *unless* you reload the page, thus the search button.Maybe somebody has a suggestion - I know that Flash has been used with WebDNA in this manner.GJKAt 08:22 PM 6/21/2005, you wrote:>I've inherited a WebDNA driven website and have no experience with it.>>I have a page with three fields, the first is a drop-down list and the other>two fields display values linked to what's selected in the first field. All>these values are stored in a webdna db table. Currently the user makes a>selection in the first field and then clicks the search button to get the>correct values in the next two fields. I want them to choose a value in the>first field and have the other two fields populated automaticaly; thus>eliminating the search button.>>The code is pasted below, any suggestions are appreciated,>>Jared-------------------------------------------------------------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/
Gary Krockover
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:
The BUG is BACK -- leading < character (1998)
Not really WebCat (1997)
passing search criteria (1997)
Standalone Testing (1998)
adding shipping cost (1998)
UTF-8 conversion (2006)
Form based Redirect (2001)
Anyone with a solution for this? (2001)
Storing dates (was: Ticket Ordering Question) (2003)
OSX 10.2.6/iTools 7.0/WebDNA 5.0 installation (2003)
How do you hide [math]stuff[/math] (1997)
Nesting [RAW] (1998)
URL for Discussion Archive (1997)
IE Cache Problems... (1999)
Return records from another (1997)
Search anomaly aaarrgghh! (2000)
OT: ASP Developer (1999)
Templates on Unix & CGI on Mac? (1997)
file uploads with webcat...binary? (1998)
Exclude by date - multiple (1997)