Hi Is there a video to explain how to work with elements that can be conditionally displayed on a page. For example if I have 2 buttons that display separate forms but placed in the same potion on the page. How would I be able to see them?
The easiest way would be to have each button control a variable that dictates whether the form is shown or not
So on the form you set the show/hide condition (true/false) with a variable
Let's say, 'showForm' for example
Clicking the button flips the variable 'showForm' between true and false
Showing and hiding the form
Does that make sense
You could also then go a step further and use the same variable for both forms so that they never show at the same time
For example, using a Not node in the show/hide condition of one of the forms
Dov
1 year ago
Thanks. I was working on that assumption - to use a variable to control visibility. My question was more to do with being able to see them in the editor. In the image below I have 2 components but they cannot be seen in the editor.
Lucas G
1 year ago
Remove the condition or leave it as true while building