Re:Searching for ALL / empty form field

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14615
interpreted = N
texte = >Ken, > >Please have a look at http://secure.ims1.com/hlc/Search.tmplI looked already, but WebCat is processing that page so I cannot see your WebDNA code. You have to post it in your email message so it doesn't get interpreted. Either that, or create another page that includes this page completely within a [raw] context so I can see what you've got ... :)>I guess what I'm getting at is this: I want the fields in which no value is >specified by the user to be ignored so that if a user doesn't select any >items from the popups or type any text or numbers into the fields, all the >records will be returned.WebCat does this automatically, you don't ever have to think about it. You're making this too difficult, that's all, it's designed to be super-easy ... :)>AND > >If the user does select an item from the a popup or types text or numbers >into a field then the search is performed on only those criteria.Yes, that's exactly what WebCat does if you write your WebDNA code properly.>I do this all the time with Tango which allows one to specify that when >fields are empty they are not used as search criteria (allows you to set >include empty to false).You don't have to specify this in WebCat, it's automatic.>Am I making sense? I only want to find records >that have fields that match what is specified by the user in the search >form, but if they specify nothing, then I want all the records to be >returned.Yes, yes, it makes sense, and it's *supposed* to be a no-brainer because that's exactly how WebCat is designed to work. You're probably missing the rq tags that make WebCat search fields with data in them with the AND concatenator instead of the OR concatenator, but since I can't see your WebDNA until you post it to the list in an email message, I have no way to know for sure ... :)Sincerely, Ken Grome WebDNA Solutions http://www.smithmicro.com/webdnasolutions/. Associated Messages, from the most recent to the oldest:

    
  1. Re:Searching for ALL / empty form field *the FINAL answer* (Paul Uttermohlen 1997)
  2. Re:Searching for ALL / empty form field (Kenneth Grome 1997)
  3. Re:Searching for ALL / empty form field (John Hill 1997)
  4. Re:Searching for ALL / empty form field *the FINAL answer* (Grant Hulbert 1997)
  5. Re:Searching for ALL / empty form field (Paul Uttermohlen 1997)
  6. Re:Searching for ALL / empty form field (Kenneth Grome 1997)
  7. Re:Searching for ALL / empty form field (Jay Van Vark 1997)
  8. Re:Searching for ALL / empty form field (Paul Uttermohlen 1997)
  9. Re:Searching for ALL / empty form field (Jay Van Vark 1997)
  10. Re:Searching for ALL / empty form field (Paul Uttermohlen 1997)
  11. Re:Searching for ALL / empty form field (Jay Van Vark 1997)
>Ken, > >Please have a look at http://secure.ims1.com/hlc/Search.tmplI looked already, but WebCat is processing that page so I cannot see your WebDNA code. You have to post it in your email message so it doesn't get interpreted. Either that, or create another page that includes this page completely within a [raw] context so I can see what you've got ... :)>I guess what I'm getting at is this: I want the fields in which no value is >specified by the user to be ignored so that if a user doesn't select any >items from the popups or type any text or numbers into the fields, all the >records will be returned.WebCat does this automatically, you don't ever have to think about it. You're making this too difficult, that's all, it's designed to be super-easy ... :)>AND > >If the user does select an item from the a popup or types text or numbers >into a field then the search is performed on only those criteria.Yes, that's exactly what WebCat does if you write your WebDNA code properly.>I do this all the time with Tango which allows one to specify that when >fields are empty they are not used as search criteria (allows you to set >include empty to false).You don't have to specify this in WebCat, it's automatic.>Am I making sense? I only want to find records >that have fields that match what is specified by the user in the search >form, but if they specify nothing, then I want all the records to be >returned.Yes, yes, it makes sense, and it's *supposed* to be a no-brainer because that's exactly how WebCat is designed to work. You're probably missing the rq tags that make WebCat search fields with data in them with the AND concatenator instead of the OR concatenator, but since I can't see your WebDNA until you post it to the list in an email message, I have no way to know for sure ... :)Sincerely, Ken Grome WebDNA Solutions http://www.smithmicro.com/webdnasolutions/. Kenneth Grome

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:

[ModDate] & [ModTime] ? (1997) A Couple Photos from the SmithMicro Booth at MacWorld (2000) Help needed! (1998) [setLineItem] does not work. (1998) [LOOKUP] (1997) Stumpted Again (1997) Showif, Hideif reverse logic ? (1997) [WebDNA] search limit using WO? (2012) Bannersleuth (2000) WebCatalog NT beta 18 problem (1997) SiteGuard Use Question (1997) Re:2nd WebCatalog2 Feature Request (1996) AuthorizeNet & StoreBuilder (2002) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) XML and CDATA (2004) Multiple prices (1997) WebCat2: Items xx to xx shown, etc. (1997) [ot] G5 Desktop as Server (2004) Plugin or CGI or both (1997) Banner Ad example (Typhoon) and WebCatalog (1997)