Re: Summing fields

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10837
interpreted = N
texte = >Let me know if it works, but I have my doubts ... the reason being that >WebCat2 probably cannot pick up the variables from a form unless the >'Submit' button is clicked by the user. The same concept goes for >hyperlinks - those variables are not passed unless someone clicks the link. > >I think that clicking something on the page is the trigger than actually >sends WebCat2 those variables.Ken's right; no CGI can possible pick up that information until _after_ the form is submitted. HTML works that way. If you go to ClubMac you'll see we calculate the totalWeight on an intermediate page before showing the shipping price on the next page. Formulas.db cuts down on one extra step, but the only way to calculate information 'live' on a single page is to use Java or JavaScript.It's got nothing to do with where you put the form variables in the HTML -- first, last, or in the middle, they all get sent to the next page regardless, and CGIs can't see them until the user does something.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Summing fields in a search/founditems context?? (Jason Tyler 2000)
  2. Summing fields in a search/founditems context?? (Robert McPeak 2000)
  3. Re: Summing Fields (Martin Gertz Bech 1998)
  4. Re: Summing Fields (Christer Olsson 1998)
  5. Summing Fields (Wayne Morishige 1998)
  6. Re: Summing fields (grichter@panavise.com (Gary Richter) 1997)
  7. Re: Summing fields (Grant Hulbert 1997)
  8. Re: Summing fields (Kenneth Grome 1997)
  9. Re: Summing fields (grichter@panavise.com (Gary Richter) 1997)
  10. Re: Summing fields (Grant Hulbert 1997)
  11. Re: Summing fields (Kenneth Grome 1997)
  12. Re: Summing fields (Britt T. 1997)
  13. Re: Summing fields (Grant Hulbert 1997)
  14. Re: Summing fields (Kenneth Grome 1997)
  15. Re: Summing fields (Grant Hulbert 1997)
  16. Re: Summing fields (Dean Smith 1997)
  17. Re: Summing fields (Dean Smith 1997)
  18. Re: Summing fields (Grant Hulbert 1997)
  19. Summing fields (Dean Smith 1997)
>Let me know if it works, but I have my doubts ... the reason being that >WebCat2 probably cannot pick up the variables from a form unless the >'Submit' button is clicked by the user. The same concept goes for >hyperlinks - those variables are not passed unless someone clicks the link. > >I think that clicking something on the page is the trigger than actually >sends WebCat2 those variables.Ken's right; no CGI can possible pick up that information until _after_ the form is submitted. HTML works that way. If you go to ClubMac you'll see we calculate the totalWeight on an intermediate page before showing the shipping price on the next page. formulas.db cuts down on one extra step, but the only way to calculate information 'live' on a single page is to use Java or JavaScript.It's got nothing to do with where you put the form variables in the HTML -- first, last, or in the middle, they all get sent to the next page regardless, and CGIs can't see them until the user does something.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) multi-paragraph fields (1997) Looking for a host (1997) emailer truncates last letter! (1997) UPS Shipping Calculations (2001) Search in 2 or more catalogs (1997) Sorting (2000) SKU Question (1999) Separate SSL Server (1997) MATH PROBLEM (1997) search results through frames (2000) WebCatalog can't find database (1997) Storebuilder/TFTP Question (2001) Webcatalog, Webstar and Crasharama (1999) nesting limits? (1998) passing variables to .asp (2000) Fwd: Problems with Webcatalog Plug-in (1997) Not sending email !!! (2002) WebCat 5 Intranet Question (2003) Nt's Latest? (1997)