[Resolved] Update Variable with form submit
I can 't get a variable to update with a submit event , but I can do it with the input event . I want it to update with submit though . Here is the video I made around it and I am probably missing something very simple . https://vimeo.com/899614660/ee973c9ff6?share=copy ✅1You can then also use that same submit even to send the message to the API Or is the input element to add to a Form ? Standard browser behavior One for the input and another for the message thread it displays I think I did some things wrong here , but here 's a way to think about it https://share.zight.com/o0uO40Ap Yeah I definitely eventually want to have one for message box for the user input and another for the GPT response but I am trying to take baby steps and understand this as I go 🙂 It 'll be simpler for you to display the conversation Sounds like you got it 👍 and I have the input bound to the userInput variable this formula is on the form on submit userInput is a string and messages is an Array ^ ^ This is the submit action . To start I just have an empty array [ ] btw which tutorial are you following ? I cloned this thanks to Lucas https://editor.nordcraft.com/projects/promptstudio/branches/main/components/HomePage But I am trying to follow a Bubble video for the overall structure I have no experience with Bubble so totally learning from scratch







.jpeg/public)