Hi newbie here ! This community has been very helpful so far, but now I'm stuck on an order form I'm working on.
Here's the problem..
I have a listing of participants each one can check a box partcipant_1_checkbox either 1 2 or 3
But I need to add a value to each
1 = 5.25
2 = 9.00
3 = 11.50
So far I can get the amount ordered into the total amount from each participant box eg 1 2 or 3 by using this in the custom calculation script box
var a = this.getField("partcipant_1_checkbox").value; // variable for the estimated value
event.value = a;
But i need the amount ordered to show up as a value eg 1 should be £5.25
as you can see from below ... not a clue!!!
var a = this.getField("partcipant_1_checkbox").value; if ( partcipant_1_checkbox = 1)
event.value = 5.25; //
var b = this.getField("partcipant_1_checkbox").value; if ( partcipant_1_checkbox = 2)
event.value = 9.00; //
var a = this.getField("partcipant_1_checkbox").value; if ( partcipant_1_checkbox = 3)
event.value = 11.50; //
Hope someone can help
With thanks
Rusty
Jim Healy
FormRouter, Inc.
Check out our FREE Advanced Acroform Toolset:
http://www.formrouter.com/tools
Jim Healy, Founder & CEO FormRouter Inc.
Chapter Leader AUG RTP NC
http://www.formrouter.com