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:
writing db to disk (1997)
Internet Explorer and caching (2000)
Ship Cost Not working (2000)
Assigning Serialized Customer Numbers (1997)
Searching multiple Databases (1997)
WebCat on Intel Core 2 macs anyone? (2007)
Giving out error pages (1997)
SiteGuard Admin Feature ? (1997)
Sami (1998)
Not reading code (1997)
dynamic giffing. (2000)
(1997)
WebCat2: multiple currency support (1997)
WebCatalog can't find database (1997)
Email Scavengers (2003)
WCS Newbie question (1997)
LOOP and IF statements (1997)
[Reload mydata.db] (1998)
texta,b,c,d,e (urgent) (2003)
WebCat2: Master Counter snippet (1997)