Append form data to URL and send user to URL
<p>I'm a front end programmer so I work mostly with HTML and CSS. I have a client that wants to be able to type in a part number and be redirected to the corresponding part's sell sheet, which is a PDF. The code for the form is below. Basically I would like the person to type in "1234567" and then be redirected to <a href="http://www.website.com/PDFs/1234567.pdf" rel="nofollow">http://www.website.com/PDFs/1234567.pdf</a>.</p>

<p>What is the best way to achieve this? I'm not very well versed in scripting languages. Thank you in advance for taking the time to help me.</p>

<pre><code>&lt;form action="search.php" method="post"&gt;
     &lt;input type="text" class="searchField" name="search" placeholder="Enter part number here"&gt;
     &lt;input type="submit" class="searchBtn" value="Search"&gt; 
&lt;/form&gt;
</code></pre>