totalhosting
09-06-2005, 04:00 AM
Hi.
If I have a text box that is only 40 wide, and I have a 150 character string that I need someone to copy and paste into text input. Once they paste it in, they are looking at the end of the string. What I would like is to onBlur basically do what can best described as "hitting 'home' inside the text box, thereby taking you to the front of the string."
The visitor needs to see the beginning of the string to get the information for the next text input.
Another idea, which would be even sweeter would be to have a way create identical sets of form inputs, based on the number required, as selected by the end user.
For instance, my form is for class registrations. If someone wants to sign up for 4 different courses at once, I would like to have the user select "4" from a "ClassNum" list, and then have 4 sets of the information gathering inputs created and autoincremented for variable separation.
I would like to have manage only one select list of all the classes available.
One other thing that would be to keep people from having too much control, I would also think it was smart to deactiave ClassNum once you start entering (unless there was a way to save values, if someone decides the way to register for only three classes, and tries to change the drop-down. I assume that would erase all the settings.)
If anyone knows of script bits that could be cobbled together, that would be sweet.
Thanks.
Pesto
If I have a text box that is only 40 wide, and I have a 150 character string that I need someone to copy and paste into text input. Once they paste it in, they are looking at the end of the string. What I would like is to onBlur basically do what can best described as "hitting 'home' inside the text box, thereby taking you to the front of the string."
The visitor needs to see the beginning of the string to get the information for the next text input.
Another idea, which would be even sweeter would be to have a way create identical sets of form inputs, based on the number required, as selected by the end user.
For instance, my form is for class registrations. If someone wants to sign up for 4 different courses at once, I would like to have the user select "4" from a "ClassNum" list, and then have 4 sets of the information gathering inputs created and autoincremented for variable separation.
I would like to have manage only one select list of all the classes available.
One other thing that would be to keep people from having too much control, I would also think it was smart to deactiave ClassNum once you start entering (unless there was a way to save values, if someone decides the way to register for only three classes, and tries to change the drop-down. I assume that would erase all the settings.)
If anyone knows of script bits that could be cobbled together, that would be sweet.
Thanks.
Pesto