How to pass value from form to url parameter
This is solution and working form as desired.

&lt;form name="addres" id="addres" method="get" action="add-your-restaurant"&gt;
 &lt;span&gt;&lt;input type="text" name="addresfield" class="resfield"
 name="key" value="Enter your Restaurant name"/&gt;&lt;/span&gt;
&lt;input type="submit" class="btn"/&gt;
&lt;/form&gt;