ahosang, since your applet was such a success here at our workplace, we wondered if you could adjust the same applet program to do a few new things.
The recent one had a new frame window which we still want. The first applet window should like a small form with two textfields, where the user enters their email address and password.
The email textfield should have 2 validation checks:
1)The first number should not be numeric.
2)It should check for the '@' at sign in the email address.
The password should be COMMUNITYSYS.
There are 2 buttons below - OK and CLEAR.
When the user clicks "OK" it should open a new frame window once the user enters a valid email and password (COMMUNITYSYS). If email and password are not valid than a new frame window should say that User has entered invalid email and password.
This new frame window should display a form:
Enter the name (textfield)
Enter the destination (choicelist)
Enter the city (choicelist)
Salary: 5000-9000 (radio button) 10000-15000 (radio button)
ID is: (textfield)
There are 2 buttons - OK and CLEAR.
Now what should happen, is that in the ID textfield, what should display is the first characters of the user's name, the destination, the city and the salary. So for example if I enter:
The ID textfield should display: SFM10000
ahosang, if the ID textfield can display the first characters of the information in the textfield than it would be excellent but if you can think of a better way of how to do this than I would be very grateful. The main thing is to make sure that the first characters be displayed as the ID.