Re: Javascript form validation - comments please
JRS: In article <ii43tv4m3q0ltb gr2oudbnlps4k6l kbamq@4ax.com>, seen in
news:comp.lang. javascript, Stephen Poley <sbpoley@xs4all .nl> posted at
Sat, 6 Dec 2003 09:27:39 :-[color=blue]
>On 5 Dec 2003 18:23:00 GMT, "Philipp Lenssen" <info@outer-court.com>
>wrote:
>[color=green]
>>Stephen Poley wrote:
>>[color=darkred]
>>> As for the benefits: it depends. With a broadband connection and a
>>> fast server there probably isn't much benefit. Sometimes however one
>>> has to wait 10-20 seconds for a server response. With a more complex
>>> form and/or a not-so-careful user, needing 2 or 3 bites at the
>>> cherry, it could save the user quite a bit of time.[/color]
>>
>>I usually find response times of say 1 to 2 seconds OK.[/color]
>
>Agreed. If you can provide a 2 second response via a 33K modem (or
>thereabouts) , then client-side validation is redundant.[/color]
You cannot rely on doing that. The user may acquire the form while
connected, and want to fill it up at leisure then send it when next
connected. The user may be on a train, wireless-connected, and go into
a tunnel. You may, of course, feel that an unimportant case.
--
© John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v4.00 IE 4 ©
<URL:http://jibbering.com/faq/> Jim Ley's FAQ for news:comp.lang. javascript
<URL:http://www.merlyn.demo n.co.uk/js-index.htm> JS maths, dates, sources.
<URL:http://www.merlyn.demo n.co.uk/> TP/BP/Delphi/JS/&c., FAQ topics, links.
JRS: In article <ii43tv4m3q0ltb gr2oudbnlps4k6l kbamq@4ax.com>, seen in
news:comp.lang. javascript, Stephen Poley <sbpoley@xs4all .nl> posted at
Sat, 6 Dec 2003 09:27:39 :-[color=blue]
>On 5 Dec 2003 18:23:00 GMT, "Philipp Lenssen" <info@outer-court.com>
>wrote:
>[color=green]
>>Stephen Poley wrote:
>>[color=darkred]
>>> As for the benefits: it depends. With a broadband connection and a
>>> fast server there probably isn't much benefit. Sometimes however one
>>> has to wait 10-20 seconds for a server response. With a more complex
>>> form and/or a not-so-careful user, needing 2 or 3 bites at the
>>> cherry, it could save the user quite a bit of time.[/color]
>>
>>I usually find response times of say 1 to 2 seconds OK.[/color]
>
>Agreed. If you can provide a 2 second response via a 33K modem (or
>thereabouts) , then client-side validation is redundant.[/color]
You cannot rely on doing that. The user may acquire the form while
connected, and want to fill it up at leisure then send it when next
connected. The user may be on a train, wireless-connected, and go into
a tunnel. You may, of course, feel that an unimportant case.
--
© John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v4.00 IE 4 ©
<URL:http://jibbering.com/faq/> Jim Ley's FAQ for news:comp.lang. javascript
<URL:http://www.merlyn.demo n.co.uk/js-index.htm> JS maths, dates, sources.
<URL:http://www.merlyn.demo n.co.uk/> TP/BP/Delphi/JS/&c., FAQ topics, links.
Comment