Disable form fields until a previous field has been filled with JavaScript
<p>Using JavaScript; can we set the other textfield to be dependent to the first or previous textfield?</p>

<p>For example, if we have a first name and surname field, I want to disable the surname field until a value has been entered for first name.</p>
