Skip to main content
kavyam0002
Brainy
Nov 8, 2022 6:23 AM UTC
Question

if condition

Hi, here from line 515 if condition is executing but it's showing only highlighted one not the remaining conditions. it has to show the remaining list of data but not showing what might be the reason for that 

    4 replies

    sunilnaikb0002
    Inspiring
    Nov 8, 2022 6:34 AM UTC

    Hi,

    Can you explain what all those if conditions which are in the third parameter of the parent if() function?

    kavyam0002
    Brainy
    Nov 8, 2022 6:37 AM UTC

    so like this it will show

    sunilnaikb0002
    Inspiring
    Nov 8, 2022 6:40 AM UTC

    All the if functions you mentioned below cardLayout() function should be returning something based on the condition.
    And in some cases you should also make sure that the components you are returning with if() function are compatible and appropriate.

    Known Participant
    Nov 8, 2022 10:48 AM UTC

    Hi,

     Instead of using multiple if conditions you can use decision rule or a!match() or choose function as per your need , which will be less complex and easy to debug