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:

Sorting by date (1997) WebCatalog NT beta 18 problem (1997) HomePage Caution (1997) [WebDNA] Multiple Instances of WebDNA causing multiple copies (2012) Secure server question (1997) WebCommerce: Folder organization ? (1997) Replace context problem ... (1997) Replace context (1998) Search Combining Problem (2004) Still no word on my problems. . . (2000) Location of Webcat site in folder hierarchy (1997) b12 cannot limit records returned and more. (1997) iis 4.0 (1997) Almost a there but..bye bye NetCloak (1997) Setting up shop (1997) WebCat B13 Mac CGI -- Frames question (1997) Caching [include] files ... (1997) FAX orders (1996) PCS Frames (1997) WebDNA dying or ... ? (2005)