Hi
I’ve setup a checkbox that displays an input field and a done button, when I click the done button I want the checkbox to uncheck, is this possible?
Hey there,
This is pretty simple to set up:
- Create a custom state on the checkbox element — call it
check?
(type: Yes/No). - Add a workflow: When page is loaded → Set state
check?
toyes
(so the checkbox is initially checked). - Then: When the “Done” button is clicked → Set state
check?
tono
.
Finally, just bind the checkbox’s “This checkbox is checked” field to This Checkbox's check?
.
Test it out — should work like a charm!
And by the way, I also take up Bubble projects - happy to help if you need support on anything you’re building
The check button needs to load unchecked on page load, if someone checks that option they can enter data and hit done which will add the data clear the input field and hopefully uncheck the checkbox which will make the input field and button disappear . I’ve tried the method you’ve mentioned but I’m not sure I’m doing it right as it’s still not working
Yes that will work too
- Change the ‘on page load’ workflow and keep it unchecked.
- Keep rest steps same.
It will work
It’s not working, I click the done button and it clears the input field but it won’t uncheck the checkbox
Hey @scratch1079 was it resolved. If its not resolved yet, can you share a screenshots of your workflow settings
Fixed, I needed to set the visual states in the workflow