jquery: fill in text box (min of 5 characters) and will tick checkbox
<p>I have a checkbox which i would like to check if the user fills in the text box that follows it. This must be a min of 5 characters for it to check the checkbox.</p>

<pre><code>&lt;input type="checkbox" id="olt3" name="olt3" &lt;?php if (!empty($mychecklist-&gt;pro)) echo 'checked' ?&gt;&gt; 

&lt;input type="text" id="pro" name="pro" value="&lt;?php echo $mychecklist-&gt;pro?&gt;"&gt;Please supply your ID
</code></pre>

<p>thanks in advance for any help.</p>
