texte = Another trick for dealing with fields that may be blank is to prepend them with a 0 within the math context:[math][_itemamount]+[_postage]+0[_donation][/math] ^- brianAt 2:44 PM 7/11/2001, Tim Robinson wrote:>IGNORE PREVIOUS MAIL>>I've just got this to work.>>The {_donation] field was not compulsory. I assumed that if it was >empty it would be a zero value, but I've had to put in a>[hideif [_donation]=]+[_donation][/hideif]>>Now it works. What a pain...... oh blood pressure, please go down.>>Regards,>Tim>>>>>On Wednesday, 11 July 2001 2:28 PM, Tim Robinson
wrote:>>Hi there,>>>>Is there any reason why this new variable isn't working???>>>>[TEXT> >show=F]_amount=[math][_itemamount]+[_postage]+[_donation][/math][/text]>>>>The three variables: [_itemamount], [_postage], [_donation],>>have been passed from a form. Individually, these variables>>display fine. But when they are put in to the [math] context to>>create a new variable, it makes a blank.>>>>------->>>>Please fill in your credit card details>>>>(To be charged your total of $[format .2f][_amount][/format]) >><---- comes up $0.00>>
>>ie. Item: $[_itemamount] + Postage: $[_postage] + Donation:>>$[_donation] <---- comes up perfectly>>>>------->>>>Am I REALLY going mad, or is there something really simple that>>I can't see.>>>>All help greatly appreciated.>>>>Regards,>>Tim>>>>Tim Robinson>>Art Director>>imagine online>>tim@imagine.com.au>>http://www.imagine.com.au>>>>>>>>------------------------------------------------------------->>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/>>>>>>------------------------------------------------------------->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/-- <= Brian C. Fries, BrainScan Software http://www.brainscansoftware.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:
Another trick for dealing with fields that may be blank is to prepend them with a 0 within the math context:[math][_itemamount]+[_postage]+0[_donation][/math] ^- brianAt 2:44 PM 7/11/2001, Tim Robinson wrote:>IGNORE PREVIOUS MAIL>>I've just got this to work.>>The {_donation] field was not compulsory. I assumed that if it was >empty it would be a zero value, but I've had to put in a>[hideif [_donation]=]+[_donation][/hideif]>>Now it works. What a pain...... oh blood pressure, please go down.>>Regards,>Tim>>>>>On Wednesday, 11 July 2001 2:28 PM, Tim Robinson wrote:>>Hi there,>>>>Is there any reason why this new variable isn't working???>>>>[TEXT> >show=F]_amount=[math][_itemamount]+[_postage]+[_donation][/math][/text]>>>>The three variables: [_itemamount], [_postage], [_donation],>>have been passed from a form. Individually, these variables>>display fine. But when they are put in to the [math] context to>>create a new variable, it makes a blank.>>>>------->>>>Please fill in your credit card details>>>>(To be charged your total of $[format .2f][_amount][/format]) >><---- comes up $0.00>>
>>ie. Item: $[_itemamount] + Postage: $[_postage] + Donation:>>$[_donation] <---- comes up perfectly>>>>------->>>>Am I REALLY going mad, or is there something really simple that>>I can't see.>>>>All help greatly appreciated.>>>>Regards,>>Tim>>>>Tim Robinson>>Art Director>>imagine online>>tim@imagine.com.au>>http://www.imagine.com.au>>>>>>>>------------------------------------------------------------->>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/>>>>>>------------------------------------------------------------->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/-- <= Brian C. Fries, BrainScan Software http://www.brainscansoftware.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/
Brian Fries
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:
notification solutions (1997)
HTML text cannot be copied to clipboard? (1999)
[WebDNA] ImageMagick function library now available (2009)
Help name our technology! (1997)
Thanks Grant (1997)
greater than or equal to (1997)
WebCatalog can't find database (1997)
Separate SSL Server (1997)
Passing WebCat data to SSL server (1997)
Outlook Rule (2002)
WebCatalog can't find database (1997)
Quit revisited (1997)
hiding hyperlink info in URL field (1999)
WebCat on Alpha? (1997)
Save Word/Excel Docs to Server (2002)
[WebDNA] Installation problem (Debian 6 64bit + Lighttpd) (2011)
Error Lob.db records error message not name (1997)
Formatting dates stored in db (2003)
Using Plug-In while running 1.6.1 (1997)
WebCatalog Hosting (1996)