Good afternoon, how do I turn one value into another?
In my table, I get the status return, which is 0 for active or 1 for locked.
How do I show the name Active or Blocked instead of 0 or 1
In my table, I get the status return, which is 0 for active or 1 for locked.
How do I show the name Active or Blocked instead of 0 or 1
Hi Rafael,
Call a switch function, the function values setup should be like this:
Best regards
Call a switch function, the function values setup should be like this:
1:ActiveThe "Data provider" should be set to the table field value: {var:table_name.row.field_name}
0:Blocked
Best regards
Thanks,
its working
its working
This topic is locked and no more replies can be posted.