You have to put an action to your form that will interpret your inputs, something like:
<form action="link_to_action.php" method="POST">
then from that file it will interpret the user input. You can redirect them to another page that says "thank you" page or "error page" depends on user input.