The GET method embeds the variables (appends them) to the action URL. The POST method uses the entity body of the HTTP request and therefore they do not appear in the URL.
Change your form method from GET to POST: i.e. change the following:
<form action="" class="login-form" method="get" accept-charset="UTF-8">
to this:
<form action="" class="login-form" method="post" accept-charset="UTF-8">
You haven't shown your PHP, but I assume you are interpreting your form variables using $_GET. When you use the POST method, you will need to interpret your variables using the $_POST array. If you are posting to some other domain/site, you may find you must use one of the two methods depending on the site's requirements which may be beyond your control.
EDIT: If you want to dynamically alter the submitted value from spaces (which would get converted to + symbols) to hyphens, below is a sample form using javascript to implement the onsubmit() handler. Just before form is submitted, the spaces are changed to hyphens.
<html>
<head>
<title>Test Page</title>
</head>
<script lang="javascript">
function getObj(id)
{
if (document.getElementById)
{
//standard browsers
return(document.getElementById(id));
}
else if (document.all)
{
//older browsers
return(document.all[id]);
}
else if (document.layers)
{
return(document.layers[id]);
}
}
function onSubmit(obj)
{
var objName = getObj('name');
objName.value = objName.value.replace(/ /i,'-'); //replace spaces with hyphens
return true;
}
</script>
<body>
Hello
<form action="" class="login-form" method="get" accept-charset="UTF-8" onsubmit="return onSubmit(this)">
<div class="form-group">
<input type="text" class="form-control" required id="name" name="name" class="form-control w-40 dis-ib" placeholder="Enter your name"/>
</div>
<div class="form-group">
<button type="submit" class="btn btn-success btn-block btn-lg">Create Now</button>
</div>
</form>
</body>
</html>