[n00b] button clic, custom url based on input

Hello all!

Im trying to link a button to a search restul website… my elements are a textbox and and a button… so when the user type the work BURGER , the url on the button is :

https://www.argentinasintacc.com/foro/search/ BURGER

is there a quick way to call the input text from the box like a variable … or call the textbox.value or something like this?


Thanks!

something like this…

$w(‘#input1’).onChange( function () {

let keyword = $w(“#input1”).value;

let searchUrl = (" https://www.argentinasintacc.com/foro/search/" + keyword);

$w(“#button1”).link = (searchUrl);

})