Switch Case/Else-If Function in Server Connect

+1 for both Appconnect and serverconnect

1 Like

Lets hope it makes it to Wappler 5

6 Likes

Bump

Jon: “Jarvis, please create a Server Connect action that allows me to use elseif and switch conditions.”

Jarvis: “I can’t do that Jon. I have analyzed the software and it seems that although I could create an extension for it, I need to modify some core files which are copyrighted. Even If I get an additional usage grant to modify copyrighted files from the owner I don’t have access to the source code of the UI application. I would suggest you get in touch with the owner and ask them to open source the files so I can legally modify them.”

Jon: “Thank Jarvis, good boy!”

@George it seems Jarvis can’t :pensive:

3 Likes

Let’s hope it makes it to Wappler 6.

As far as I remember, If/Else was in Wappler from the beginning. I would have thought that’s when Elseif should have been included. It’s omission seems as much a bug as a feature request. Anyway, it’s on the roadmap…

I don't know if it helps, but I did it like this with ternary:

status==0?'Aguardando':(status==1 ? 'Aprovado' : 'Reprovado')