IF, ELSE IF (Pick List)

Viewing 1 reply thread
  • Author
    Posts
  • August 1, 2018 at 6:52 AM #30167

    Martin Koss
    Participant

    Hello
    Is there an example anywhere of a calculation that uses ‘if else if” type of coding? I want to perform a calculation based on a value selected from a pick list. The pick list contains words and I’d like to use the ‘if else’ statement say what number should be included in the calculation based on the value selected from the pick list.

    Thanks.

    August 1, 2018 at 7:25 AM #30169

    Brendan
    Keymaster

    Hi Martin,

    There is an IFEQUAL(A; B; C; D) function which works like that and can be used for comparing text. It basically says “if A = B, then return C; else return D”.

    In Tap Forms 5.3 I’ve added a JavaScript engine and you can write real scripts that use proper if/then/else statements.

Viewing 1 reply thread

You must be logged in to reply to this topic.