Re: [SearchString] usage
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 11672
interpreted = N
texte = It happens automatically. If you have a huge search form (method=post) thenyou would build the show next links like the following (note that I'm notactually testing this, so you may have to check things over):
If you have 20 input fields from your orignal search form, [searchstring]will put that many (and perhaps 1 or 2 more) in as well. Note that in thissituation the amount of HTML generated can be quite large if you have morethan a few show next forms. Thus it's best to limit the number of shownextforms created with the max= option (see shownext in online docs).John.>Grant wrote:>>>Just to clarify a bit: [searchstring] is now meant to be used only within>>[ShowNext] as a means of building up search URLs that correctly find the next>>chunk of found items.>>>>If you want to display human-readable text, you can make use of the fact that>>WebCatalog lets you display any form variable:>>>>If you search is something like>>Results.tmpl$search?db=xx.db&woDescriptiondata=Hello>>>>Then in the results page you can use>>>>Your search for [woDescriptiondata] in the database [db] found [numFound]>>items.>>This is a simple case. But how do I do it for a more complex one, such as>when the search performed was from a multi-criteria user-input web page,>such as an AND search for a particular Topic, Location, and set of keywords?>>------->Richard Shapiro>rshapiro@infoasis.comJohn A. Hill, V.P. Marketing *********************************Pacific Coast Software * Home of the Web's best11770 Bernardo Plaza Ct. #462 * Catalog and Merchant softwareSan Diego, CA 92128 * http://www.smithmicro.comPhone: 619-675-1106 Fax: 675-0372 *********************************
Associated Messages, from the most recent to the oldest:
It happens automatically. If you have a huge search form (method=post) thenyou would build the show next links like the following (note that I'm notactually testing this, so you may have to check things over):
If you have 20 input fields from your orignal search form, [searchstring]will put that many (and perhaps 1 or 2 more) in as well. Note that in thissituation the amount of HTML generated can be quite large if you have morethan a few show next forms. Thus it's best to limit the number of shownextforms created with the max= option (see shownext in online docs).John.>Grant wrote:>>>Just to clarify a bit: [searchstring] is now meant to be used only within>>
[shownext] as a means of building up search URLs that correctly find the next>>chunk of found items.>>>>If you want to display human-readable text, you can make use of the fact that>>WebCatalog lets you display any form variable:>>>>If you search is something like>>Results.tmpl$search?db=xx.db&woDescriptiondata=Hello>>>>Then in the results page you can use>>>>Your search for [woDescriptiondata] in the database [db] found [numFound]>>items.>>This is a simple case. But how do I do it for a more complex one, such as>when the search performed was from a multi-criteria user-input web page,>such as an AND search for a particular Topic, Location, and set of keywords?>>------->Richard Shapiro>rshapiro@infoasis.comJohn A. Hill, V.P. Marketing *********************************Pacific Coast Software * Home of the Web's best11770 Bernardo Plaza Ct. #462 * Catalog and Merchant softwareSan Diego, CA 92128 * http://www.smithmicro.comPhone: 619-675-1106 Fax: 675-0372 *********************************
John Hill
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:
purchase plugin (1996)
Separate SSL Server (1997)
WebMerchant (1997)
Setting Lineitems (2005)
followup (2002)
formatting dates from a field ... (1997)
Fileinfo (2001)
Shopping Cart ID (1998)
mem leak: webcat (2001)
emailer (1997)
Secure server question (1997)
SSL, WebSTAR, WebCatalog (1998)
charging? (2001)
Too Much Rootbeer Free Offer (1997)
Requiring that certain fields be completed (1997)
Re:PCS Customer submissions ? (1997)
Interfacing WebMerchant to www.fedex.com (1997)
[WebDNA] [tcpconnect] timeout (2015)
This list needs a digest: rant, rave... (1997)
[WebDNA] JSONStore Levels (2020)