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…

1 Like

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

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

Let's hope it makes it to Wappler 7 :wink:

9 Likes

Also, if you haven't already voted, please do so...
(assuming you agree with the FR)

1 Like

+1 for this FR

Sorry Wappler team.

6 years have passed, and the basics in any development language have not yet been implemented.

Of course we need to be careful when using "ifs". But Switch Case makes the code at least "more organized", than a succession of nested code, looking like a "Chinese doll".

Is there anything new about this?

  • 1 for this
5 Likes

+100 to add

This as well as a switch case option should have been implemented a long time ago. They are the basics of programming.

Sorry but the Wappler team should pause the UI dev on the latest beta and give the faithful community more important features like these two basics.

I can understand @George’s concerns for users that are starting out with low-code. On the other hand if you have a user that is starting out manually writing code they could do the same thing with too many nested conditions. In my opinion things shouldn’t be that restrictive, it’s all part of the learning curve :slight_smile:

I'm new to Wappler, I've only been using it for 1 month.

I'm moving away from WordPress, I have my reasons, but I won't mention them here.

I've become a Wappler fan, I think I'm here to stay and continue my work using Wappler. The community is very strong and united, the team is active and very involved here. I learned a lot from @Hyperbytes on YouTube, his videos are wonderful.

And whenever I have a question, I search here on the forum, and I've already solved a lot of things by searching here.

When I needed a switch case in my project, I realized that the tool didn't have it, I ran to the forum and searched for "switch case", I couldn't believe that this hadn't been implemented yet and that it's a feature request from the community that's been there for 6 years and already has 60 votes and no satisfaction from the team.

I'll reinforce what I read above, I still have hope that it will be released in version 7.

"May the force be with the Wappler team" is a Jedi phrase I think, lol

Dudeeeeeeeeeeeeeeeeeeeeeeeeee

image

10 Likes

Wooo hoo!! It's coming????

7 Likes

You’re welcome chat.

Jon out.

7 Likes

:see_no_evil: :hear_no_evil: :pray:

1 Like

Server actions are getting love indeed! :smiling_face_with_three_hearts:

1 Like

@Teodor @George @patrick

really thanksss .. :tada: :confetti_ball: :tada: :confetti_ball:

1 Like