Re: New [math] variable not working...

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 37099
interpreted = N
texte = IGNORE PREVIOUS MAILI'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/ Associated Messages, from the most recent to the oldest:

    
  1. Re: New [math] variable not working... (Brian Fries 2001)
  2. Re: New [math] variable not working... (Tim Robinson 2001)
  3. New [math] variable not working... (Tim Robinson 2001)
IGNORE PREVIOUS MAILI'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/ Tim Robinson

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:

Frames and WebCat (1997) Uh...can someone help me out with the b10? (1997) Stumped on ShowNext -using variables (1997) Norton Internet Security filtering out WebDNA processsed pages (2004) Open Market's Transact & Macintosh (1998) WebCat2 - [format thousands] (1997) emailer w/F2 (1997) WebCat2 - storing unformatted date data? (1997) Writing encrypted files causes errors ... (1998) New Command prefs ... (1997) Summing fields (1997) Shopping Cart w/Multiple Databases (1998) webcat NT with [dos] command (1997) two unique banners on one page (1997) Email (1998) Further tests with the infamous shipCost (1997) Cookie Newbie (2002) .hdr files (2004) Multiply prices (1997) HELLO (2000)