Hi,
In my JSP page I have to take an input for either Social Security Number for which the format is 999-99-9999 or Employee Identification Number for which the format is 99-9999999. Now it is not know which one the user is going to enter. He has to enter only one field ie., either SSN or EIN.
So I have 3 text boxes for SSN and 2 text boxes for EIN. How should I name them. Because in the Action Form only one property is used.
If the user enters SSN then all the values in the 3 text boxes have to be concatenated and passed to the variable in Action Form. If the user enters EIN the the values in 2 text boxes have to be concatenated and passed to the same variable in the Action Form. Can anyone suggest. Also if the user is entering SSN......when he enters the first 3 digits in the first text box...automatic ally the focus have to move to the second text box.
Regards,
Kamal
In my JSP page I have to take an input for either Social Security Number for which the format is 999-99-9999 or Employee Identification Number for which the format is 99-9999999. Now it is not know which one the user is going to enter. He has to enter only one field ie., either SSN or EIN.
So I have 3 text boxes for SSN and 2 text boxes for EIN. How should I name them. Because in the Action Form only one property is used.
If the user enters SSN then all the values in the 3 text boxes have to be concatenated and passed to the variable in Action Form. If the user enters EIN the the values in 2 text boxes have to be concatenated and passed to the same variable in the Action Form. Can anyone suggest. Also if the user is entering SSN......when he enters the first 3 digits in the first text box...automatic ally the focus have to move to the second text box.
Regards,
Kamal
Comment