Change a text box according to user input

Hello,

I added a user input box that should take the user input and in return when the user clicks on the button “save”, the text box above the user input with text “your location” should be changed to whatever address the user entered. I thinks its pretty simple but I am having trouble coding it in Velo, would appreciate the help. Thanks in advance.

Here is the screenshot of the page I’m working on:

1 Like

Try this one…

$w.onReady(()=>{
	$w('#myButtonSaveIDHere').onClick(()=>{
		setTimeout(()=>{
			$w('#myTextfieldID').text = $w('#myInputID').value
		},50);
	});
});

Do not forget to modify all the IDs in your project.