Why is the initial value of a variable not the same as the current value?

  • jreed5-1331842817248723005

    jackson

    16 days ago

    I created a variable and set the value using a formula but the current value remains null. I can't see the variables when I use them on the page in the editor (because they are null), but then when I publish the page, I see them. Does any one know why? I've attached 3 images which (hopefully) illustrates this. I would like to be able to see these variables and am not sure what I'm doing wrong. Thank you!
    1331842818326532169-Screenshot_2025-01-22_at_8.18.04_PM.png
    1331842817642725418-Screenshot_2025-01-22_at_8.17.29_PM.png
    1331842818704146462-Screenshot_2025-01-22_at_8.19.29_PM.png
  • plusmin-1331844180225425489

    Armand

    16 days ago

    I think you are getting the input for the variable formula from your URL parameters right?
    That is probably why it works in live mode (when the URL parameters are what you set them to be) and not in editor mode (when the URL is the URL of the editor).

    I might be wrong, but I think that's why it behaves like that in editor mode.
  • jreed5-1331844680622669894

    jackson

    16 days ago

    Yes, I am getting them from the URL. I see, you are probably right, thank you!
  • It works as I intended, just thought I was missing a concept

Stop scrolling. Start building.

toddle is a visual web app builder that rivals custom code — but accessible to your entire team!

Try toddle — it's free!

© Copyright 2024 toddle. All rights reserved.