<input type="text" name="LOGIN" value="" /> <input type="text" name="EMAIL" style="" value="" oninput="document.getElementsByName('LOGIN')[0].value = value"/>