I have 2 inputs. The first input is seen on page load and the other (input 2) lives in a floating group that’s visibility is toggled via workflow.
I want input 1’s value to show in input 2 but I can’t seem to get it to work.
Okay, if I understand correctly, when you change Input 1 on the page, that value should also be visible in Input 2? The best way to do this is by creating a custom state.
Create a custom state.
Create a workflow that triggers when Input 1 is changed - set the state.
Save (set) the value of Input 1 to the state.
Set the initial content value of Input 2 to the state value."
In Bubble.io, custom states are variables that can be created on an element (or page) and can store data temporarily without the need for the database. This method is using a custom state to store the value of Input 1, and then using that state to display the value in Input 2.
That’s how I understood the instructions, unfortunately at 0:33 sec input 1 isn’t a choice as an element within input 2’s initial content field for me.
I suspect is has something to do with how my input 1 is nested? Below is a screenshot of the input 1 structure, labelled as “Add Task Input”: