Tried to edit an element in a RG. When I use Reset data or Reset inputs, I can not make the inputs disappear from the form. Also tried setting a state, still nothing. Can not delete old inputs, no how. Have done this action many times before, so this is not first time I am doing this edit function. But am totally stuck now.
Its a little app. Please take a look. It is just a one page thing. Add data to a form and then it goes into the RG. And I can then click to edit it and it should appear in the edit box, but it does not. Thanks a bunch.
The edit button does populate the inputs nad I can even save them back. It is just that after the save, it does not empty the fields. Hence not possible to create a new record. Please take a look at the app in the link. Here it is again.
And you previously stated that it didn’t for you either. I’m confused
The Reset data button doesn’t reset form’s input fields. That I agree. And to solve it, the video I sent you should suffice. Just make the workflow be aware of the input fields by placing a conditional on each Reset relevant inputs action and you’ll have it.
A question: do I have to specifically name each field of the data that needs to be reset? I am not seeing how I would do that. Is saying reset the form name not work? That seems to be the case for me.
Also yes, edit does not work. Only I can update the values from the form, but can not create a new record.
Just as it is described in the video I’ve referred twice, just create one Reset relevant inputs action per form input field and place a conditional on each action, like Input field value is not empty
In the Reset Data button script I have added a separate action for each field but it is till not clearing anything. One for each field I want to clear as in picture. Its cumber some.
The edit button does not work. This is because it has a condition that the from fields must be empty for it to load the current values.
If it is not empty then it should create a new record which it does not either.
So in order to clear the fields and the edit button to work, I added the Reset Data button. When clicked it does nothing. So if I can figure out how to empty the current data, I might be able to fix the Edit button in the RG.
However, if I change a value in the form and hit save, that does write over the RG cell values.
It is the emptying of the form that seems to be the main problem.
Tried what you suggested, both adding a condition on the Reset Input action and now Rest Group/Popup action. Neither are working for me.
You’re using Multiline input. Data behaves differently for generic input and multiline input in Bubble. Request you to share a video of what you’re trying to achieve then it would be lot better to help!
I have created a super simplified version and even that does not work. The save button wont save. It has no condition but it says it is unclickable.
Here is the page.