Resetting a Formvariable
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 35205
interpreted = N
texte = I'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 to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
I'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 to Web Archive of this list is at: http://search.smithmicro.com/
Glenn Busbin
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:
GuestBook example (1997)
Classifieds (2000)
copyfile (2003)
Shopping cart problem (2003)
Announce: WebMerchant 3.0 for Mac shipping now (1998)
WebCat2.0 [format thousands .0f] no go (1997)
[WebDNA] sem_open solved (2012)
Bug or syntax error on my part? (1997)
Stymied by [ShowNext] with drop down list on a form (1998)
[ot] New List. Was: Webcat no longer supported? (2006)
Variables for chat (1997)
Group search doesn't work. (1997)
Lineitems [text*] (2004)
Possible Bug in 2.0b15.acgi (1997)
Search wbrk word break param (1998)
High ASCII inside [LOOKUP] inside [LISTWORDS] (1998)
Error .. (2003)
RE: Remote administration (1998)
Weird problems with [SHOWIF]s (1997)
WC2b15 File Corruption (1997)