Javascript in Forms

Top | Amiga | Aweb Contact


This form was inspired by Telecom New Zealand's jetstream usage pages. The login form sends a multitude of data to the client, and the client sends it back as part of the form. The crazy part is that there are two Login Name fields, one is visible and is filled in by the user. The other is hidden and filled in by javascript. This script simply copies the value of one field to the other.

Type something different into the two fields, "Logon User ID" should be copied to "User Id"


User ID:
Logon User ID:

copyright 2001 Tom Parker - last modified 9 Apr 2001