on 09-30-2005 8:30 AM
Hello collegues,
I don't know whether this is the right place for my question but I will try it. I created an Adobe Form with the Adobe Designer. I would like to calculate the sum of three fields and display the result in another field. I have to use JaveScript but I am not an expert in this topic. Very helpful would be a litte example from with a simple addition of two fields.
Thanks in advance,
Alex
Hi,
why don't you use FormCalc? This is part of Adobe Designer and it's easier to work with (at least in the Adobe environment). An example can be found in your Adobe installation path, e.g. 'C:\Program Files\Adobe\Designer 6.0\Samples\Purchase Order\Dynamic\Forms\Purchase Order.xpd'.
For sure, JavaScript is possible, too. For getting values of the form you need the method rawValue. Example in JavaScript: "Result.rawValue = Op1.rawValue + Op2.rawValue;"
Same in FormCalc: "Result = Op1 + Op2;"
Regards,
Jan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.