Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Forms
Viewing all articles
Browse latest Browse all 61369

If then statement calculation

$
0
0

I am having difficulty getting a statement to work.  Basically I want to have field 1 take "x" value and then return an "x" value in Field 2. 3 options for field 1 that returns the value of that option into field 2.

 

This is what I have that returns errors:

 

If (Field 1 eq "A") then (Field 2 eq "10")

elseif

If (Field 1 eq "B") then (Field 2 eq "8")

elseif

If (Field 1 eq "C") then (Field 2 eq "6")

endif

 

Can someone help me with the correct syntax to perform this operation? I am sure I have something wrong somewhere. Or maybe I am using the wrong type of statements for this operation.

 

Thank you!

Tom


Viewing all articles
Browse latest Browse all 61369

Trending Articles