-
dj30189Asked on August 5, 2018 at 2:52 PM
Form is https://www.jotform.com/build/82147828584165
on page #2 of form; inside of the Calculation widget labeled "Buy-In Total"; I need to accomplish the following:
for the calculation values that are assigned in the checkbox labeled "How many Buy-in Boaters are being registered?", I need the value (only one check box is allowed) added to a constant number; this constant depends on the checkbox selection.
Logically I need the following for "Buy-In Total"
IF (How many Buy-in Boaters are being registered) = 150 then
Buy-In Total= (How many Buy-in Boaters are being registered) +100
Elseif (How many Buy-in Boaters are being registered) = 300 then
Buy-In Total= (How many Buy-in Boaters are being registered) +200
Elseif (How many Buy-in Boaters are being registered) = 450 then
Buy-In Total= (How many Buy-in Boaters are being registered) +300
Elseif (How many Buy-in Boaters are being registered) = 600 then
Buy-In Total= (How many Buy-in Boaters are being registered) +400
End if
I cannot seem to get this done correctly, can you assist plz.
-
Welvin Support Team LeadReplied on August 5, 2018 at 3:35 PM
Do you need it something like this?
If so, the conditional logic should be:
If 1 is selected then Calculate 1 (150) + 100:
Add the conditional logic for the other options.
If 2 is selected then Calculate 2 (300) + 200
If 3 is selected then Calculate 3 (450) + 300
If 4 is selected then Calculate 4 (600) + 400
-
dj30189Replied on August 5, 2018 at 4:08 PM
Welvin
Thx !! let me see if I can that to work
-
dj30189Replied on August 5, 2018 at 4:22 PM
Welvin
That worked; I was trying to set these conditions inside the Calculation Widget for Buy-In total, using If statements. Instead of using the Conditions under "Settings" for the form. Thx for your help !!