Re: Resetting a Formvariable
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 35208
interpreted = N
texte = Use [text] context to set the new value.[showif [quantityordered]>[numavailable]][text]quantityordered=[numavailable][/text][/showif][Formvariables][quantityordered], [numavailable][/Formvariables]James Howarth **********************************Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)16855 West Bernardo Drive | Software & Site DevelopmentSuite 380 |San Diego, CA 92127 |858.675.1106 | http://www.smithmicro.com/isd858.675.0372 (fax)-----Original Message-----From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]OnBehalf Of Glenn BusbinSent: Wednesday, July 26, 2000 11:07 AMTo: WebCatalog TalkSubject: Resetting a FormvariableI'm passing a formvariable ok, but need to evaluate it after it's passed.If [quantityordered] is greater than [numavailable], I want to reset[quantityordered] = [numavailable].I'm using:[showif [quantityordered]>[numavailable]][Math][quantityordered]=[numavailable][/math][/showif]This always sets [quantityordered]=0 no matter how large [numavailable] is.Using:[Formvariables][quantityordered], [numavailable][/Formvariables]shows that the correct values are being passed.Why can't I reset the value of this variable as per the docs for WC3?Thanks,Glenn-------------------------------------------------------------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 toWeb Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Use [text] context to set the new value.[showif [quantityordered]>[numavailable]][text]quantityordered=[numavailable][/text][/showif][formvariables][quantityordered], [numavailable][/Formvariables]James Howarth **********************************Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)16855 West Bernardo Drive | Software & Site DevelopmentSuite 380 |San Diego, CA 92127 |858.675.1106 | http://www.smithmicro.com/isd858.675.0372 (fax)-----Original Message-----From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]OnBehalf Of Glenn BusbinSent: Wednesday, July 26, 2000 11:07 AMTo: WebCatalog TalkSubject: Resetting a FormvariableI'm passing a formvariable ok, but need to evaluate it after it's passed.If [quantityordered] is greater than [numavailable], I want to reset[quantityordered] = [numavailable].I'm using:[showif [quantityordered]>[numavailable]][math][quantityordered]=[numavailable][/math][/showif]This always sets [quantityordered]=0 no matter how large [numavailable] is.Using:[formvariables][quantityordered], [numavailable][/Formvariables]shows that the correct values are being passed.Why can't I reset the value of this variable as per the docs for WC3?Thanks,Glenn-------------------------------------------------------------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 toWeb Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/
James Howarth
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:
2.1b3 --> way slow (1997)
math with multiple [founditems] (1999)
Some Advise needed (1997)
Problem: 3.0 doesn't update carts (1997)
Pirated WebCat? NOT... (2003)
TaxTotal (2003)
Nested tags count question (1997)
Claris HomePage messes up the code (1997)
Web Catalog vs. ICAT (1997)
Out of the woodwork (2007)
Server slowing down. (1997)
More questions about serial number dishing (1997)
re: WebCat 3.0 (1998)
problems with WebCat-Plugin (1997)
Virtual hosting and webcatNT (1997)
Encrypt/decrypt bug in 3.0.5b12 (1999)
Virtual Domains (1998)
ShowNext (1997)
[WebDNA] Encrypted password issue (2009)
Webstar 1.3.1 PPC (1997)