<form method="post" action="https://shop.dic.net/cart.php?a=add&domain=register&query=" target="_blank" onsubmit="this.action += document.getElementById('domain').value;">
<input type="text" id="domain" name="domain" placeholder="Enter Domain Name">
<input type="submit" value="Search">
</form>