Introduction to Auto-Binding Fields In Bubble.io
In this Bubble.io tutorial video we explore why auto-binding fields can save you time and discuss the UX advantages and disadvantages of doing so.
Understanding Auto-Binding in Bubble.io
In a previous video, I've demonstrated how to create a workflow, where if you click on a button like this, you receive a pop-up which you can then edit a piece of content in the database by hitting save. You commit that change to your database as you've just seen there. But this video is going to show you how to do that using auto-binding. Auto-binding allows you to cut down on the number of workflows that you have to create and can offer a slightly better experience for your user.
Setting Up Auto-Binding for Name Editing
We're still going to focus on editing the name, but I'm going to put an input field here instead and enable auto-binding onto name. Auto-binding has to have an additional rule added in your privacy settings. Normally you'd have it set as the creator, but for this demonstration, just so it works, I'm going to say that everyone can edit the name through auto-binding. Let's hit preview and see what that does.
Demonstrating Auto-Binding Functionality
What auto-binding lets me do? I still have a workflow of some sort set up that sends you through to the profile page. I'm just going to get rid of that. That's from a previous demonstration. Let's try that again. So there you go. That highlights one of the trade-offs of auto-binding that if you're working with inputs, you can't edit the input, but also have the input as a button.
Auto-Binding in Action
What I was trying to demonstrate is I can now type in Tony Stark and then if I click off, that is now saved. You saw very quickly it went across and that is saved to my database. I'm refreshing the page to show that it has indeed saved. Same for here. And it's saved. So I've not had to create a workflow. I've not had to say when input is changed, do this write to database. No, I've just simply enabled auto-binding and you can activate an alert by dragging on the alert element.
UX Considerations with Auto-Binding
I think one of the UX disadvantages of auto-binding is you have to make it clear to your user that it has saved. For example, if we were to still use the pop-up, I could create this as an auto-binding element and then change this to a close button. But it wouldn't be very good UX to have this as an auto-binding element and then still stay save here because as soon as the user clicks out of that element, it saves it to the database with auto-binding.
Potential UX Issues with Auto-Binding
And so if the user wants to edit the text and then click off the pop-up or come back to the site at another stage, it's still been saved even though they haven't clicked the save button, which I would say is bad UX. You're not making the steps clear enough for your user what's going on.
Conclusion
But hopefully that's gone some way to demonstrating how auto-binding can cut down on the amount of UI you have to design and also the number of workflows you've got to work out.
Get the Complete Bundle for Just $99
Access 3 courses, 390+ tutorials, and a vibrant community to support every step of your app-building journey.
Start building with total confidence
No more delays. With 30+ hours of expert content, you’ll have the insights needed to build effectively.
Find every solution in one place
No more searching across platforms for tutorials. Our bundle has everything you need, with 390+ videos covering every feature and technique.
Dive deep into every detail
Get beyond the basics with comprehensive, in-depth courses & no code tutorials that empower you to create a feature-rich, professional app.
Valued at $49
Valued at $89
Valued at $29
Valued at $99
Valued at $49
Can't find what you're looking for?
Search our 300+ Bubble tutorial videos. Start learning no code today!
Have questions?
We have answers!
Find answers to common questions about our membership plans, programs, and more.
We're here to help you launch your no code SaaS. Reach out to the team and we'll double check our vast library for useful content. We'll advise you on how we'd tackle the same problem and there's a good chance we'll record the video to help the wider community.
As a Planet No Code member, you'll receive a discount on our Bubble coaching sessions. Monthly members receive a 10% discount, while Annual members receive a 17.5% discount. To redeem your discount, simply log into your account and book a coaching session through our platform.
Our 8-week intensive mentorship program is designed to provide personalized guidance and support to help you accelerate your startup journey. You'll be matched with a startup expert who will work with you one-on-one to set goals, overcome challenges, and make rapid progress.
To apply for the Mastery Program, simply click the "Request Invitation" button on our pricing page and fill out the application form. Our team will review your application and schedule a call with you to discuss your goals and determine if the program is a good fit for your needs.
We accept all major credit cards, including Visa, Mastercard, American Express, and Discover.
While we don't offer a free trial, we do provide a 14-day money-back guarantee. If you're not completely satisfied with your membership within the first 14 days, simply contact our support team, and we'll issue a full refund.