Skip to Main Content
Status Open for voting
Categories Form Designer
Created by Guest
Created on Mar 18, 2024

Add else if in Form Rules

For example, I have below requirement:

If Text = A, then Number = 1

Else if Text = B. then Number = 2

Else Number = 3


In currently version, form rules only have if - else, I need to create a rule for "if text = A", a rule for "if text = B", a rule for "if text is not A and B". if my requirement has more "else if", I need to add more rules. It is hard to troubleshoot when having so many rules.

  • Attach files
  • Guest
    Reply
    |
    May 8, 2024

    This would reduce so much clutter per form if implemented.

  • Guest
    Reply
    |
    Mar 28, 2024

    I've thought about this same issue and have worked around it by creating variables containing complex logic and then using those variables in the rule conditions or rule results themselves. Often times I do things like "if ___ is empty or ___ is filled then set value to variable" and the variable contains everything I need. Hope this helps until rules have more complex logic.

2 MERGED

Complex rules - multiple if/then statements

Merged
If would be beneficial to be able to create more complex rules for forms as one can in Excel. For example, If ___, Then ___; If ___, Then ___; If ___, Then ___; Else ___.
Guest 6 months ago in Form Designer 0 Open for voting