# \[New Feature\] Auto-binding inputs

**URL:** <https://forum.bubble.io/t/new-feature-auto-binding-inputs/3295>\
**Category:** Announcements\
**Created:** [May 30, 2016, 10:21am UTC](https://forum.bubble.io/t/new-feature-auto-binding-inputs/3295 "2016-05-30T10:21:26Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![emmanuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emmanuel/32/27657_2.png) [@emmanuel](https://forum.bubble.io/u/emmanuel)\
**Post date:** [May 30, 2016, 10:21am UTC](https://forum.bubble.io/t/new-feature-auto-binding-inputs/3295/1 "2016-05-30T10:21:27Z")

</div>

We just pushed a feature that will help you save quite some time when building forms and simplify your apps. You can now bind an input to a field of thing.

Very often, you’ll find yourself building a form to modify an existing thing in the database, usually the thing of the group or the page. That means defining the initial content as ‘Parent Element’s thing’s field’, and then having workflows when the user changes the content of the input.

 ![](https://us1.discourse-cdn.com/bubble/original/2X/0/0bc4c55b27baf9685ca6c2d3cb128b7820c134b8.png)

Now, you can select “Enable auto-binding on parent element’s thing” as the input level. If the input is in a group or a page that contains a thing (group coming before the page), you’ll be able to select which field you want to modify. Doing so, the input will automatically use the field value as the initial content, and will update the thing as the user changes the value of the input.

Please note that this feature requires a special permission in the privacy tab. As it doesn’t use the workflow engine, modifying things that way requires you to define who can modify which field for a given thing (usually the creator, etc.). If the privacy isn’t met, you’ll see an error message.

 ![](https://us1.discourse-cdn.com/bubble/original/2X/8/86be5d1ae29597f21fa91d2d13a0ab169b4ad0b7.png)

---

<div class="post-metadata">

**Author:** ![nicolas.daprigny](https://avatars.discourse-cdn.com/v4/letter/n/b38774/32.png) [@nicolas.daprigny](https://forum.bubble.io/u/nicolas.daprigny)\
**Post date:** [May 30, 2016, 10:25am UTC](https://forum.bubble.io/t/new-feature-auto-binding-inputs/3295/2 "2016-05-30T10:25:18Z")

</div>

Important time-saving for our new forms + less errors !  
Pretty cool 🙂

---

<div class="post-metadata">

**Author:** ![levon](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/levon/32/89793_2.png) [@levon](https://forum.bubble.io/u/levon)\
**Post date:** [May 30, 2016, 10:37am UTC](https://forum.bubble.io/t/new-feature-auto-binding-inputs/3295/3 "2016-05-30T10:37:38Z")

</div>

awesome! thanks a lot ! 🙂

---

<div class="post-metadata">

**Author:** ![ryanck](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@ryanck](https://forum.bubble.io/u/ryanck)\
**Post date:** [May 30, 2016, 10:41am UTC](https://forum.bubble.io/t/new-feature-auto-binding-inputs/3295/4 "2016-05-30T10:41:07Z")

</div>

@emmanuel would you mind sharing an example of a use of case?

This is what I understand: so let´s say you have an already created client on the database and next to the client you´ve a button to edit the client for example, so when you click on that edit button it goes to the edit client page with the client data on it as initial content so you can edit the information.

With this auto binding feature you bind the name of the client to the database field “nameofclient”. Then if a user modifies this field on the edit client page, it get´s automatically updated on the database without having to click on the “save” button?

Thanks.

---

<div class="post-metadata">

**Author:** ![ryanck](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@ryanck](https://forum.bubble.io/u/ryanck)\
**Post date:** [May 30, 2016, 11:55am UTC](https://forum.bubble.io/t/new-feature-auto-binding-inputs/3295/5 "2016-05-30T11:55:54Z")

</div>

Hello guys,

I´m playing a little bit with this auto-binding new feature but I´m getting an error that I don´t have permission to modify it even though I´ve configured.

Could anyone help with this?

> **[Bubble Editor - mynewtestapp](https://bubble.io/page?type=page&name=clientes_edit&id=mynewtestapp&tab=tabs-1)**
>
> Build stuff without code and launch a startup without a tech-cofounder! Bubble is a visual programing language. Instead of typing code, use a visual editor to build applications.

---

<div class="post-metadata">

**Author:** ![emmanuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emmanuel/32/27657_2.png) [@emmanuel](https://forum.bubble.io/u/emmanuel)\
**Post date:** [June 2, 2016, 8:45am UTC](https://forum.bubble.io/t/new-feature-auto-binding-inputs/3295/6 "2016-06-02T08:45:06Z")

</div>

Can you share a run mode link? we need an id in the URL

---

<div class="post-metadata">

**Author:** ![ryanck](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@ryanck](https://forum.bubble.io/u/ryanck)\
**Post date:** [June 2, 2016, 8:56am UTC](https://forum.bubble.io/t/new-feature-auto-binding-inputs/3295/7 "2016-06-02T08:56:24Z")

</div>

Sure,

> **[Bubble - Visual Programming](https://mynewtestapp.bubbleapps.io/version-test/new_invoice/sample:custom.invoice?debug_mode=true)**
>
> Build stuff without code and launch a startup without a tech-cofounder! Bubble is a visual programing language. Instead of typing code, use a visual editor to build applications.

---

<div class="post-metadata">

**Author:** ![emmanuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emmanuel/32/27657_2.png) [@emmanuel](https://forum.bubble.io/u/emmanuel)\
**Post date:** [June 2, 2016, 8:57am UTC](https://forum.bubble.io/t/new-feature-auto-binding-inputs/3295/8 "2016-06-02T08:57:37Z")

</div>

Well that’s the problem. Look at the URL. It’s a sample ID when you preview the page, but it should be an ID with some numbers in real life.

---

<div class="post-metadata">

**Author:** ![ryanck](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@ryanck](https://forum.bubble.io/u/ryanck)\
**Post date:** [June 2, 2016, 9:04am UTC](https://forum.bubble.io/t/new-feature-auto-binding-inputs/3295/9 "2016-06-02T09:04:51Z")

</div>

You´re right,

That´s not the URL. It´s this one: [https://mynewtestapp.bubbleapps.io/version-test/clientes\_edit/1463417357004x787748956266823700?debug\_mode=true](https://mynewtestapp.bubbleapps.io/version-test/clientes_edit/1463417357004x787748956266823700?debug_mode=true)

---

<div class="post-metadata">

**Author:** ![emmanuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emmanuel/32/27657_2.png) [@emmanuel](https://forum.bubble.io/u/emmanuel)\
**Post date:** [June 2, 2016, 12:59pm UTC](https://forum.bubble.io/t/new-feature-auto-binding-inputs/3295/10 "2016-06-02T12:59:45Z")

</div>

Well look at the privacy rules. You only enable logged in users to use auto binding.

 ![](https://us1.discourse-cdn.com/bubble/original/2X/8/8427f506dc43e1aae267ee86005b179622868f41.png)

---

<div class="post-metadata">

**Author:** ![kfhwdd](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/kfhwdd/32/2166_2.png) [@kfhwdd](https://forum.bubble.io/u/kfhwdd)\
**Post date:** [June 2, 2016, 1:26pm UTC](https://forum.bubble.io/t/new-feature-auto-binding-inputs/3295/11 "2016-06-02T13:26:33Z")

</div>

I’ve tried “Mynewtestapp” so that I could figure out what “Auto-bind” does. But when I click the button, nothing happens.

@ryanck do you mind explaining to me what is supposed to happen?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![ryanck](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@ryanck](https://forum.bubble.io/u/ryanck)\
**Post date:** [June 2, 2016, 2:12pm UTC](https://forum.bubble.io/t/new-feature-auto-binding-inputs/3295/12 "2016-06-02T14:12:00Z")

</div>

I´ve changed to this client is not empty but nothing @emmanuel

How does it work?

Thanks a lot.

---

<div class="post-metadata">

**Author:** ![ryanck](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@ryanck](https://forum.bubble.io/u/ryanck)\
**Post date:** [June 2, 2016, 2:12pm UTC](https://forum.bubble.io/t/new-feature-auto-binding-inputs/3295/13 "2016-06-02T14:12:41Z")

</div>

Don´t really know what should happen I´m figuring out,

@emmanuel will tell us soon.

---

<div class="post-metadata">

**Author:** ![ryanck](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@ryanck](https://forum.bubble.io/u/ryanck)\
**Post date:** [June 2, 2016, 2:17pm UTC](https://forum.bubble.io/t/new-feature-auto-binding-inputs/3295/14 "2016-06-02T14:17:17Z")

</div>

Just tested now and it works but it´s slower than the workflow right?

Also what if I want to bind it but not make any modifications till the user hits the “save” button on a page? I mean the binding will be great show the client information for example for editing but it won´t be modified in the database till the user hits the save button.

Is it possible?

Thanks.

---

<div class="post-metadata">

**Author:** ![emmanuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emmanuel/32/27657_2.png) [@emmanuel](https://forum.bubble.io/u/emmanuel)\
**Post date:** [June 3, 2016, 12:34am UTC](https://forum.bubble.io/t/new-feature-auto-binding-inputs/3295/15 "2016-06-03T00:34:50Z")

</div>

It’s actually faster, because there are less steps than a workflow. Why does it feel slower? In general, changes are reflected immediately anyway on the screen, so which lowliness are you talking about?

If you want to use save, just don’t use this new feature, and use the values of the inputs for display purposes.

---

<div class="post-metadata">

**Author:** ![azzar](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/azzar/32/3053_2.png) [@azzar](https://forum.bubble.io/u/azzar)\
**Post date:** [June 3, 2016, 4:20am UTC](https://forum.bubble.io/t/new-feature-auto-binding-inputs/3295/16 "2016-06-03T04:20:59Z")

</div>

This is really great…

For those who always create their bolean the wrong way, it’d be pretty cool to have the option to invert the value of the component when binding with the stored data.

---

<div class="post-metadata">

**Author:** ![ryanck](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@ryanck](https://forum.bubble.io/u/ryanck)\
**Post date:** [June 3, 2016, 7:33am UTC](https://forum.bubble.io/t/new-feature-auto-binding-inputs/3295/17 "2016-06-03T07:33:43Z")

</div>

I think I mixed concepts here so let me dig in a bit more.

Thanks for your reply.

---

<div class="post-metadata">

**Author:** ![levon](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/levon/32/89793_2.png) [@levon](https://forum.bubble.io/u/levon)\
**Post date:** [June 3, 2016, 1:49pm UTC](https://forum.bubble.io/t/new-feature-auto-binding-inputs/3295/18 "2016-06-03T13:49:36Z")

</div>

@emmanuel can you enable this for search inputs as well?

---

<div class="post-metadata">

**Author:** ![emmanuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emmanuel/32/27657_2.png) [@emmanuel](https://forum.bubble.io/u/emmanuel)\
**Post date:** [June 3, 2016, 1:53pm UTC](https://forum.bubble.io/t/new-feature-auto-binding-inputs/3295/19 "2016-06-03T13:53:21Z")

</div>

It’s a bit trickier there. I’ll think about it.

---

<div class="post-metadata">

**Author:** ![emmanuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emmanuel/32/27657_2.png) [@emmanuel](https://forum.bubble.io/u/emmanuel)\
**Post date:** [June 3, 2016, 3:14pm UTC](https://forum.bubble.io/t/new-feature-auto-binding-inputs/3295/20 "2016-06-03T15:14:49Z")

</div>

Just added that.

[Next page](https://forum.bubble.io/t/new-feature-auto-binding-inputs/3295.md?page=2)
