For any change within a page, you'll need some JavaScript.
For your case, you put a handler on the onkeyup (text input) or onchange (dropdown) event of the respective input, and then trigger whatever action you would like to.
When you have read the basics about JavaScript in a questionnaire (see above) and want to give a few more details, don't hestitate to ask a "related question" in the online support.