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:

RE: Error: template (1997) Execute Applescript (1997) DataBaseHelper Flawed (1997) webcatalog 2.1.3 ACGI Weirdness? (1998) Greeting Card System (2000) [WebDNA] v6.2 dependencies? (2010) Error (1997) Paths, relative paths, webstar server setup and security (1997) WebCatalog can't find database (1997) European Dates (1998) Setting up shop (1997) WebCatalog for Postcards ? (1997) FAX orders (1996) Canadian WebDNA host wanted (2004) WC 2.0 frames feature (1997) WebCat for Unix?? (1997) WebCat2b15MacPlugin - showing [math] (1997) ShowNext (1997) Lost and Recovered. (1998) Looking up two prices in database? (1997)