Change default value of a text_input when user enter an input

hi,

i want to know how to change a default value of a text_input by it’s unique key and how to get a default value of a text_input by it’s unique key as well.

Thanks in advance