It's taken me a while but I have completed this video. I'm having one issue - well my wife might disagree, but I digress. Around 1:06:40 there is an example of setting a variable to hide the container with the Update form. I get the form to hide, but setting the variable within the Update button is not releasing the form. I've deleted the variable, changed it's name, restarted Wappler, exited Wappler - just no progress - suggestions?
Difficult to say without seeing your code, maybe a short video of you doing that part, or a few screenshots would help.
Welcome to Wappler though, even though you like a 2 month old user, haha, and well done for getting that far already, was quite a complex tutorial.
Here is the flow. 1. Create a variable >>set it value to zero. 2. click the container you want to hide >> goto DYNAMIC ATTRIBUTES>>click Display>>click Hide>>click data picker When >>then set your variable.value==0. That will make the container hidden. Now on your button. 1. Add DYNAMIC EVENT >> click Mouse>> click “Click” >> click data picker Action>> find your variable>>add the click Set Value then add it other side with the plus button>>then SET VALUE PROPERTIES value to one. Hope this help
Thank you both - ran through both suggestions - with quotes without - even spelled out “one” “two” - same thing. Here’s a quick 1:30 recording of what the steps I did.
You can no just click on the when field like that and type in a value like var1.value==0
You have to click the lightening bolt icon, then choose code, and then type that in which will then look like this
What you did would have produced dmx-hide="'var1.value==0'", those single quote marks inside the double quotes are a problem.
If you could switch to code view for a moment and click the btn_user_update from the App Structure and send a screenshot of the code block it scrolls to, we can look more at what happens to the on click part.
That worked Paul. Thank you. I only had to change the hide function.
Would you be able to point out where I missed the instructions to that step? (if it exists) I know the video is on version 3.3, and I’ve been able to figure what is or isn’t still needed in v4.
I’ve gotten myself under a bit of a time crunch to recreate a fairly simple site, and 80% of what I need done is covered in that video. My first month was validating my commitment to a new tool and so fair I’m quite happy overall with Wappler.
No problem, glad it worked, the video at 1:07:22 shows Brian opening the Data Bindings window and not just typing in the When field, you do not see him change to code when entering ==0 but that changed a bit for version 4.
Happy you enjoying Wappler, in my opinion I have not seen a tool as robust as this, so far there is almost nothing I have not been able to do with it.