Get same data from another field in html form
<p>I'm new in Php/Mysql/Javascript. I'm learning it. </p>

<p>In my Html form there are 5 fields:</p>

<ol>
<li>Status</li>
<li>Email Address</li>
<li>Username</li>
<li>Password</li>
<li>Agree button. </li>
</ol>

<p>My question is "How do I get same email address to the username field ?"  </p>

<p>Ex: <strong>Status</strong> = Mr, <strong>Email Address</strong> = emailaddress@yahoo.com, and It's should automatically fill the <strong>username</strong> field with this <strong>Email address</strong>. I believe it's can be done with Javascript. Because of javascript is a client side script.</p>
