![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello everybody, I have a PHP application with a lot of form fields. I would like to automatically have the cursor (focus) jump to the next input element once MAXLENGTH is reached. I found this: http://www.htmlcodetutorial.com/form...msupp_162.html but it's javascript. The app will be approached with several clients, mozilla, ie, elinks and so far I managed to keep is javascript-free. Can I do the jump without javascript, that is: in pure html (4)? |
#3
| |||
| |||
|
|
Hello everybody, I have a PHP application with a lot of form fields. I would like to automatically have the cursor (focus) jump to the next input element once MAXLENGTH is reached. I found this: http://www.htmlcodetutorial.com/form...msupp_162.html but it's javascript. The app will be approached with several clients, mozilla, ie, elinks and so far I managed to keep is javascript-free. Can I do the jump without javascript, that is: in pure html (4)? |
|
Thanks! |
#4
| |||
| |||
|
|
Hello everybody, I have a PHP application with a lot of form fields. I would like to automatically have the cursor (focus) jump to the next input element once MAXLENGTH is reached. I found this: http://www.htmlcodetutorial.com/form...msupp_162.html but it's javascript. The app will be approached with several clients, mozilla, ie, elinks and so far I managed to keep is javascript-free. Can I do the jump without javascript, that is: in pure html (4)? Thanks! |
|
(59||9) ||555 | (next box) 1111 | |
#5
| |||
| |||
|
|
On 07 May 2004 07:18:18 GMT, Koos <root (AT) localhost (DOT) localdomain.invalid wrote: Hello everybody, I have a PHP application with a lot of form fields. I would like to automatically have the cursor (focus) jump to the next input element once MAXLENGTH is reached. I found this: http://www.htmlcodetutorial.com/form...msupp_162.html but it's javascript. The app will be approached with several clients, mozilla, ie, elinks and so far I managed to keep is javascript-free. Can I do the jump without javascript, that is: in pure html (4)? Thanks! I remember being on sites which ask for my phone number. Three boxes. So I type in the 1st box (599) the 2nd 555 and the third 1111. I tabbed, as I am used to, between the boxes. This all takes, what, two seconds, and I'm not looking. Here's how the form got filled in: (59||9) ||555 | (next box) 1111 | I had to do it over. This sort of little "helpful trick" runs against how users expect the interface to work and should be avoided. |
#6
| |||
| |||
|
|
Neal <neal413 (AT) yahoo (DOT) com (news pr7mtzmog6v6656 (AT) news (DOT) individual.net) wrote:I remember being on sites which ask for my phone number. Three boxes. So I type in the 1st box (599) the 2nd 555 and the third 1111. I tabbed, as I am used to, between the boxes. This all takes, what, two seconds, and I'm not looking. Here's how the form got filled in: (59||9) ||555 | (next box) 1111 | I had to do it over. This sort of little "helpful trick" runs against how users expect the interface to work and should be avoided. Ah well... just what percentage of users? |
|
I think for majority of people such JS is an welcome aid, especially if larger amounts of data have to be entered. |
#7
| |||
| |||
|
|
Neal <neal413 (AT) yahoo (DOT) com (news pr7mtzmog6v6656 (AT) news (DOT) individual.net) wrote:On 07 May 2004 07:18:18 GMT, Koos <root (AT) localhost (DOT) localdomain.invalid wrote: Hello everybody, I have a PHP application with a lot of form fields. I would like to automatically have the cursor (focus) jump to the next input element once MAXLENGTH is reached. I found this: http://www.htmlcodetutorial.com/form...msupp_162.html but it's javascript. The app will be approached with several clients, mozilla, ie, elinks and so far I managed to keep is javascript-free. Can I do the jump without javascript, that is: in pure html (4)? Thanks! I remember being on sites which ask for my phone number. Three boxes. So I type in the 1st box (599) the 2nd 555 and the third 1111. I tabbed, as I am used to, between the boxes. This all takes, what, two seconds, and I'm not looking. Here's how the form got filled in: (59||9) ||555 | (next box) 1111 | I had to do it over. This sort of little "helpful trick" runs against how users expect the interface to work and should be avoided. Ah well... just what percentage of users? I think for majority of people such JS is an welcome aid, especially if larger amounts of data have to be entered. |
#8
| |||
| |||
|
|
Works for phone and zip, but everything else is variable length. |
#9
| |||
| |||
|
|
This sort of little "helpful trick" runs against how users expect the interface to work and should be avoided. Ah well... just what percentage of users? I think for majority of people such JS is an welcome aid, especially if larger amounts of data have to be entered. |
#10
| |||
| |||
|
|
"Mitja" <tezt (AT) email (DOT) si> wrote in message news:<zEMmc.2239$37.311549 (AT) news (DOT) siol.net>... This sort of little "helpful trick" runs against how users expect the interface to work and should be avoided. Ah well... just what percentage of users? I think for majority of people such JS is an welcome aid, especially if larger amounts of data have to be entered. I've run into just the same problem myself; I'm used to tabbing through the fields myself, and programs that try to change the field focus on me can get me all out of sync. |
![]() |
| Thread Tools | |
| Display Modes | |
| |