I have a huge form and I often hav to write down phonenumbers etc. over and over again.<br>Can anyone show me how to write:<br><br>----------------------------------------<br><input name="name" size="30"><br><%<br>If name = "john" then <br> phone = "555 78645 74"<br>ElseIf name = "James" then<br> phone = "554 48752 12"<br>End If<br>%><br><input name="phone" value="<%=phone%>"><br>----------------------------------------<br><br>in Javascript ???<br>So when you type "John" in tha name-box then the phone-box value will be "555 78645 74".<br>Kind of "autofill" function..<br>I need it to be dynamic.<br><br>SS<br><br><br>