First off, my Wappler user self esteem is taking a hit this week having to ask for help several times haha. That said, perhaps I’m missing little things because I have a deadline to meet which is this Thurs. and I’m rushing. I’m banging my head against the wall on something that should be quite simple that I’ve done a 1000 times in Wappler. Not sure if it’s a bug or not so don’t want to do a bug report if it’s just me missing something.
I have a simple delete form, everything works fine, except checking for a value that I set to ‘success’ or an error message. It always fails as if the value is not being output, yet I can see it in the console, but the form success event doesn’t appear to see it. I have tried formDeleteApp.data.deleteResponse==‘success’, (which is the known way) and even formDeleteApp.deleteResponse==‘success’, data.deleteResponse==‘success’ and deleteResponse==‘success’ for the hell of it. The form never sees the value.
FORM CODE: (sorry for the screenshot but I tried using indented and surrounding in back ticks but nothing shows)
The server connect does output the value
But the success event on the form doesn’t read it for some reason. The condition fails and as you can see, the alert message is blank.
Server Connect:
Thanks in advance,
Twitch