Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Calculating variable fields

Quote Reply
Calculating variable fields
Hi,

I'm trying to figure out how I can do simple addition and subtraction calculations using field information entered in a link rather than using javascript. All I'm trying to do is have a person enter a couple numbers, <%int1%> <%int2%> <%int3%> and then manipulate the data when needed such as:

<%int3 + int 2 - int1%>

I've been able to add a predetermined number to a field without any problems, its only when I'm trying to get to variables to work together. I thought it might work differently if I defined the field as an INT, but it doesn't do anything different. Is this possible using links or do I need to come up with something in javascript?

Thanks to anyone who can point me in the right direction...
Perl Hopefull
Subject Author Views Date
Thread Calculating variable fields stilton 3570 Dec 5, 2004, 6:02 PM
Thread Re: [stilton] Calculating variable fields
Andy 3470 Dec 5, 2004, 11:56 PM
Thread Re: [Andy] Calculating variable fields
stilton 3437 Dec 6, 2004, 6:16 AM
Thread Re: [stilton] Calculating variable fields
Andy 3437 Dec 6, 2004, 6:19 AM
Thread Re: [Andy] Calculating variable fields
stilton 3452 Dec 6, 2004, 6:39 AM
Thread Re: [stilton] Calculating variable fields
Andy 3432 Dec 6, 2004, 6:47 AM
Thread Re: [Andy] Calculating variable fields
afinlr 3430 Dec 6, 2004, 12:10 PM
Post Re: [afinlr] Calculating variable fields
stilton 3441 Dec 6, 2004, 3:31 PM