Re: Not accepting Zero

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 27177
interpreted = N
texte = >My client was on the phone the other day telling me of this huge >problem that you can't enter the quantity of zero because it reverts >back to one. > >How can I make the template accept zero? Is it worth the effort?How about if you make a javascript that fakes up the 'trash' link when you hit the submit button and the qty field is zero?Or you could also probably do a little trickery with the [RemoveLineItem] tag if you sensed the zero value on the next page.Technical Support ********************************** Smith Micro, Internet Solutions Div | Formerly, Pacific Coast Software 16855 West Bernardo Drive | ------------------------- Suite 380 | eCommerce (WebCatalog) San Diego, CA 92127 | Software & Site Development 858.675.1106 | http://www.smithmicro.com 858.675.0372 (fax) **********************************------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: Not accepting Zero (WebDNA Support 2000)
  2. Not accepting Zero (Stuart Tremain 2000)
>My client was on the phone the other day telling me of this huge >problem that you can't enter the quantity of zero because it reverts >back to one. > >How can I make the template accept zero? Is it worth the effort?How about if you make a javascript that fakes up the 'trash' link when you hit the submit button and the qty field is zero?Or you could also probably do a little trickery with the [removelineitem] tag if you sensed the zero value on the next page.Technical Support ********************************** Smith Micro, Internet Solutions Div | Formerly, Pacific Coast Software 16855 West Bernardo Drive | ------------------------- Suite 380 | eCommerce (WebCatalog) San Diego, CA 92127 | Software & Site Development 858.675.1106 | http://www.smithmicro.com 858.675.0372 (fax) **********************************------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to WebDNA Support

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:

Odd [math] behaviour (2003) Content-type:... (2000) WebCommerce: Folder organization ? (1997) Email (1998) Fedora Core 6 (2007) who are you people (1998) [protect admin] (1997) [showif]/[hideif] question (1997) [UPPERCASE] (1997) Online reference (1997) re-sorting founditems (2002) Wanted: More Math Functions (or, Can You Solve This?) (1997) [append] and SSL (1997) New public beta available (1997) Coding Standards - are there any ? (2003) [shownext] and descending order (1997) New commands in Final candidate (1997) Some ThankYou page problems (1997) Does update cart input have to be a submit? (2005) user/password validation (1998)