Page 1 of 1
Add $ values input in two flds and placing total in new fld
Posted: Wed May 13, 2015 12:22 am
by mikemc
This is some of my first lines of code. What I would like to do is define 3 flds as dollars than add the input in two of the flds and
place the sum in the third fld. Lets call the flds "c1" "c2" and "c3" This would really get me started thanks
Re: Add $ values input in two flds and placing total in new
Posted: Wed May 13, 2015 12:50 am
by sefrojones
Re: Add $ values input in two flds and placing total in new
Posted: Wed May 13, 2015 1:10 am
by mikemc
this is my first line of code and i am missing something very basic when I type
put fld c1 + fld c2 into fld c3 into the script for c3 and change my pointer nothing happens
not to mention how to define a field as a $ value I know this is so basic but thats where i'm at
Re: Add $ values input in two flds and placing total in new
Posted: Wed May 13, 2015 1:34 am
by Simon
Hi mikemc,
Here are some of the best places to start
http://www.hyperactivesw.com/revscriptc ... ences.html
http://lessons.runrev.com/
But to you exact question
Drag a button on to the stack with your 3 fields then place sefros code in between the mouseUp handlers.
Leave the $ alone for now just get your addition working.
Simon
Re: Add $ values input in two flds and placing total in new
Posted: Wed May 13, 2015 2:02 am
by mikemc
Ok thanks its working now i'll check out the references