Enhancement Request for WebCatalog-NT

This WebDNA talk-list message is from

1996


It keeps the original formatting.
numero = 10088
interpreted = N
texte = It would be nice if you provided a template variable which was the total number of lines in the scrapbook. I know that I can use [lineIndex] to refer to the current line, but there is no way to get the total number of lines. I needed to be able to use JavaScript to calculate a shipping charge and total for an order form. I had no way of knowing how many lines were in the scrapbook. I eventually just created a JavaScript variable and incremented it within each line as it was generated. I will eventually be rewriting this process with Perl, so non-Netscape browsers can get the purchase total. Something analagous to [numFound] or [numReturned], perhaps called [numLines] would make my life easier... Thanks Associated Messages, from the most recent to the oldest:

    
  1. Re[2]: Enhancement Request for WebCatalog-NT (Grant Hulbert 1996)
  2. Re: Enhancement Request for WebCatalog-NT (Greg Lindberg 1996)
  3. Re[2]: Enhancement Request for WebCatalog-NT (John_Peacock@nbnbooks.com 1996)
  4. Re: Enhancement Request for WebCatalog-NT (Grant Hulbert 1996)
  5. Enhancement Request for WebCatalog-NT (John_Peacock@nbnbooks.com 1996)
It would be nice if you provided a template variable which was the total number of lines in the scrapbook. I know that I can use [lineIndex] to refer to the current line, but there is no way to get the total number of lines. I needed to be able to use JavaScript to calculate a shipping charge and total for an order form. I had no way of knowing how many lines were in the scrapbook. I eventually just created a JavaScript variable and incremented it within each line as it was generated. I will eventually be rewriting this process with Perl, so non-Netscape browsers can get the purchase total. Something analagous to [numFound] or [numReturned], perhaps called [numLines] would make my life easier... Thanks John_Peacock@nbnbooks.com

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:

virtual virtual hosted store.... (1998) Great product and great job ! (1997) Summing fields (1997) Running _every_ page through WebCat ? (1997) Re:Need help... (1997) (1997) [WebDNA] Website almost dead? (2016) Re:redirect from the errorsMessages.db entry (1997) question: search return in order (1997) Which beta for w* 4.1 and a problem w/b12 (1999) process SSI (1998) pretty Urgent: Crash after addlineitem (2001) WebCat2b13MacPlugin - nested [xxx] contexts (1997) replacing founditems ... (2002) OT - ImageMagick on MacOS X (2004) Re:quit command on NT (1997) MacAuthorize and WebMerchant (1997) tag request (1999) Exclamation point (1997) Re:no [search] with NT (1997)