Re: Passing a search through a form

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 55004
interpreted = N
texte = Thanks Ken! It works, however I'm having to wrap all webdna inside the interpret with raw tags: [interpret] [query] [raw][founditems][/raw] [raw][/founditems][/raw] [raw][/search][/raw[ [/interpret] Which seems totally incorrect but it's working....am I wiggin' out the webdna interpreter by doing this or is it just getting to me? :) GK At 09:21 AM 12/16/2003, you wrote: >>... I'm wanting to let the user pass a complete search via a text area >>[search db=....] without ending [/search], not needed) and that's no >>problem however [interepret][query][/interpret] won't run the search. > > >>from post: >>[If ("[dosearch]"="T")] >>[Then] >>[Interpret][query][/Interpret] >>[founditems] >> >>[ListFields [datasource]] >>[interpret][[FieldName]][/interpret] >>[/ListFields] >> >>[/founditems] >>[/search] >>[/Then] >>[Else][/Else] >>[/If] > > >I was correct, you're not nesting your webdna code properly. What you're >doing is this, a perfect example of improper nesting: > >[interpret][query][/interpret] >[founditems] >[/founditems] >[/search] > >... but what you need to do is to properly nest your contexts: > >[interpret] >[query] >[founditems] >[/founditems] >[/search] >[/interpret] ------------------------------------------------------------- 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: Passing a search through a form ( Brian Fries 2003)
  2. Re: Passing a search through a form ( Gary Krockover 2003)
  3. Re: Passing a search through a form ( Kenneth Grome 2003)
  4. Re: Passing a search through a form ( Gary Krockover 2003)
  5. Re: Passing a search through a form ( Gary Krockover 2003)
  6. Re: Passing a search through a form ( Kenneth Grome 2003)
  7. Re: Passing a search through a form ( Stuart Tremain 2003)
  8. Re: Passing a search through a form ( Stuart Tremain 2003)
  9. Passing a search through a form ( Gary Krockover 2003)
Thanks Ken! It works, however I'm having to wrap all webdna inside the interpret with raw tags: [interpret] [query] [raw][founditems][/raw] [raw][/founditems][/raw] [raw][/search][/raw[ [/interpret] Which seems totally incorrect but it's working....am I wiggin' out the webdna interpreter by doing this or is it just getting to me? :) GK At 09:21 AM 12/16/2003, you wrote: >>... I'm wanting to let the user pass a complete search via a text area >>[search db=....] without ending [/search], not needed) and that's no >>problem however [interepret][query][/interpret] won't run the search. > > >>from post: >>[If ("[dosearch]"="T")] >>[Then] >>[interpret][query][/Interpret] >>[founditems] >> >>[ListFields [datasource]] >>[interpret][[FieldName]][/interpret] >>[/ListFields] >> >>[/founditems] >>[/search] >>[/Then] >>[Else][/Else] >>[/If] > > >I was correct, you're not nesting your webdna code properly. What you're >doing is this, a perfect example of improper nesting: > >[interpret][query][/interpret] >[founditems] >[/founditems] >[/search] > >... but what you need to do is to properly nest your contexts: > >[interpret] >[query] >[founditems] >[/founditems] >[/search] >[/interpret] ------------------------------------------------------------- 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:

Product Comparison (2000) Replace context problem ... (1997) Copyright ? (1997) Faxing orders in place of email (1997) WebCat2 Append problem (B14Macacgi) (1997) Fwd: Problems with Webcatalog Plug-in (1997) group field search problem (2000) WebCat2b12--[searchstring] bug (1997) Cumulative Shipping charge calculations - your help please. (1997) Re:[ShowIf] and empty fields (1997) Gold on the list ... Was Authorize.net? (2003) Next (1997) Shopping Cart Problem (1998) [WebDNA] Accepting an XML via HTTP (2013) Version f1 status (1997) member logins database (2003) Unexpected error (1997) AppleScript error (2003) [BULK] [WebDNA] Snow Leopard Server install problems (2010) Sorting by date (1997)