I have a following form:
Yes you could. $_GET['warehouse'] will be taken from the query string, $_POST variables from submitted POST values.
$_GET['warehouse']
$_POST