@sktvinc You can use a “Go” button (instead of “Enter” key).
And write some code like:
$w.onReady(() => {
$w("#goButton").target = "_blank";
$w("#input1").onInput(event => {
if($w("#input1").value === "5" || $w("#input1").value === "6"){
$w("#goButton"). link = "https://some-link.com";
} else if($w("#input1").value === "7"){
$w("#goButton"). link = "https://another-link.com";
} else {
$w("#goButton"). link = "https://different-link.com";
}
})
})
Then once the users click the Go button they will be redirected to the link on a different tab.