# (SOLVED) Making an input semi-dependent on a dropdown

**URL:** <https://forum.bubble.io/t/solved-making-an-input-semi-dependent-on-a-dropdown/3190>\
**Category:** Need help\
**Created:** [May 25, 2016, 12:30pm UTC](https://forum.bubble.io/t/solved-making-an-input-semi-dependent-on-a-dropdown/3190 "2016-05-25T12:30:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmcconna](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mmcconna/32/2606_2.png) [@mmcconna](https://forum.bubble.io/u/mmcconna)\
**Post date:** [May 25, 2016, 12:30pm UTC](https://forum.bubble.io/t/solved-making-an-input-semi-dependent-on-a-dropdown/3190/1 "2016-05-25T12:30:14Z")

</div>

I solved this but posting it in case someone else finds it useful.

Aim: have an input semi-linked to a dropdown. When the dropdown changes, change the input value. But as soon as you change the input manually, lose the link to the dropdown value.

Result: this is really easy to do which I found surprising. Just set the “initial” value of the input to follow the dropdown value.  
So the “Initial” value of an input is not just the initial value - it is the default value unless and until you change the input yourself manually.

Demo: [https://moraytestzone.bubbleapps.io/version-test/change\_input?debug\_mode=true](https://moraytestzone.bubbleapps.io/version-test/change_input?debug_mode=true)

Editor: [https://bubble.io/page?type=page&name=change\_input&id=moraytestzone&tab=tabs-1](https://bubble.io/page?type=page&name=change_input&id=moraytestzone&tab=tabs-1)  
Demo:
