Hello,
I have set up an API call that returns a random quote. Works great!
Now I have a button and a label on a new page. What I want to accomplish is, when the button is clicked, the API is called, and the new quote is set as the text of the label. So, every time user clicks the button → a new quote is shown.
I want to prevent the API get called at loading of the page. So, when users start the page, and ONLY when the user clicks the button THEN the API is called and the quote is shown. Not when the page is loaded. I also want to prevent that I need to refresh the web page to show the new quote on the label.
I’m new to Bubble and trying this as an exercise to understand the basic principles of working with Bubble.
Thank you!!
Patrick