473,324 Members | 2,473 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

auto correcting on the client

Hi

I have noticed a several plugings (jquery mask and the dojo date
widget) auto correct user data if it is entered improperly. Or they
delete the data when the user tabs out of the input.

Is this normal behaviour for apps heavy with javascript?

It seems dangerous. A defect was opened in one of my apps (validation
on the server side) due to this behaviour. The user would enter bad
data in an optional input, click submit - then no error. They would
not even know they did anything wrong, because the input deleted
itself before submitting.

Just wondering how this is usually handled.

Thanks
Feb 7 '08 #1
3 1353
wrote on 07 feb 2008 in comp.lang.javascript:
I have noticed a several plugings (jquery mask and the dojo date
widget) auto correct user data if it is entered improperly. Or they
delete the data when the user tabs out of the input.
How would we know?
You could look inside.
Is this normal behaviour for apps heavy with javascript?
Define "apps heavy with javascript".

Are you perchance talking about Java?
It seems dangerous. A defect was opened in one of my apps (validation
on the server side) due to this behaviour.
How does one open a "defect"?
The user would enter bad
data in an optional input,
How can an <inputbe optional?
click submit - then no error. They would
not even know they did anything wrong, because the input deleted
itself before submitting.
Perhaps the value/content of the <inputdid?
Just wondering how this is usually handled.
Programmatically?
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Feb 7 '08 #2
To clarify what I'm asking:

When js libraries (like some of the jquery plugins) are attached to an
<input>, is it normal to auto-correct the user onblur?
Feb 7 '08 #3
ja*********@hotmail.com writes:
To clarify what I'm asking:

When js libraries (like some of the jquery plugins) are attached to an
<input>, is it normal to auto-correct the user onblur?
Depends. Some slight cleanup may be useful (for instance, removing
unneeded whitespace), but as you point out when taken to extremes it can
lead to unintuitive behaviour.

If it doesn't do what you think it should do, don't do it.

Joost.
Feb 7 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Rene Aguirre | last post by:
Hello everybody, Recently I made a 'improvement' from an 'old' system we used for i2c bus testing as I had no access to the source code, I started from scratch on Python/wxPython. The idea...
5
by: robin | last post by:
Hi, I've implemented a Style Sheet in Dreamweaver; one of the elements is supposed to stay right with the text flowing around it on the left. A similar tag is supposed to stay left with the...
2
by: Mike N. | last post by:
Hello- I have a database that uses an auto number field type that goes out of sync periodically. My customer gets a "cannot add record, number already in use" error message. I dump the records...
2
by: VB Programmer | last post by:
I created a page which I am using to prevent the user from hitting the BACK button. I'll call it my "Auto Jump" page. When it is called it basically auto-redirects to a page specified in the...
5
by: Navillus | last post by:
Hey gang, I have a login form that is empty by default, but can be filled with values from a previous form: <input type=text maxlength="40" size="40" name="user" value="`usr`"> <input...
2
by: bubblegirl | last post by:
Hi, I need help in getting this database to work well (user-friendly) by generating auto client ID. The ID is NOT the auto number that Access automatically create when there is no primary key. ...
2
by: Ehud Banai | last post by:
Hi All, Is there any script or dll that allows me to do auto correction to digital pictures from PHP? Thanks in advance, Ehud
5
by: totalstranger | last post by:
I'm working on a lightweight, auto width, auto centered, one level drop down menu. It's working in FF, IE7 and Safari (all windows versions on my local system), however it fails in Opera. Can...
10
by: laredotornado | last post by:
Hi, I'm using php 5. Does anyone have any code or a function that auto submits a form that contains a single INPUT, of type = file? Thanks, - Dave
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.