Thread View: adobe.pdf.workflow
1 messages
1 total messages
Started by Debbie_Vair
Mon, 12 Feb 2007 15:04
Writing a custom calculation script
Author: Debbie_Vair
Date: Mon, 12 Feb 2007 15:04
Date: Mon, 12 Feb 2007 15:04
8 lines
1081 bytes
1081 bytes
I'm trying to write a calculation. What I need it to say is if the event value equals less than 299 it should equal $15.00. If the event value is greater than 300 it should take the event value multiplied by .05 cents. This is what I have so far and it is not working. Can anyone help me? I'm working in adobe 7.0 professional.
var f = this.getField("Value1");
var g = this.getField("Value2");
event.value = f.value * g.value;
if (event.value < 300) event.value = f.value * g.value; // if under 299 set to 15 limit
Thank you!
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads