Reset all page variables with button-based workflow in Weweb editor

:wave: Hello everyone,

I want to reset all the variables on a page with an “on click” workflow. Except that it’s not going as planned. I’m trying to get the results in the Weweb editor and I’d like a result similar to the “reload data” button.

1-I’ve tried the “navigate” function to link to the page itself, and it doesn’t work.

2-I’ve used the “reload” javascript function and in the editor it’s a disaster.

And the number of variables is too large to do a “variable reset” on each variable.

What can I do?

For resetting variables there’s an add item to the bottom right when you select your first variable. This should make it easier. Also it sounds like not all your variables need to be preserved as you navigate through pages so ensure you select the correct option when first creating the variable… This will help you as well.

If you need any more guidance I’m here to help. Happy to jump on a call if needed.

1 Like

thank you Profound, i’m going to try