473,395 Members | 1,521 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,395 software developers and data experts.

Big usability problem with validators

Hello,

If you add (say) two text boxes to a form, then add a validator with
some simple rule for one of them, you can observer the following
problem:-

Type some erroneous value in the text box with the validator, then click
on the other text box. This makes the validator's red error message
appear. Now, change the invalid text to something valid, and without
clicking anywhere else, click the submit button.

What happens? The validator is fired again, turning off the error (as
the text is now valid) BUT THE FORM DOES NOT SUBMIT!!! You have to click
the submit button a second time to submit it.

This is a serious usability issue, as the majority of people would sit
looking at the page, waiting for it to do something. The page would sit
there looking at them, waiting for them to do something.

Guess who will get bored and go somewhere else first?

Anyone got a fix for this issue? TIA

--
Alan Silver
(anything added below this line is nothing to do with me)
Feb 23 '06 #1
4 1199
Hi Alan,

Unfortunately, its not a validator problem as much is its a limitation of
the browser.
1. The Validator hooks up to the onchange event of the textbox to show and
hide itself after and edit
2. The button will only fire when the click is completed on top of the
button. (So if you click a button and drag off, release the button does not
fire.)
3. The browser fires the onchange event before it executes the click code of
a button.
4. The validator has rearranged the page as it hides itself (during the
onchange event). This moves the button out from under the mouse.

The only solution is to design your page with this in mind. Position the
button above, use Validator.Display=Static, use absolute positioning, etc.

--- Peter Blum
www.PeterBlum.com
Email: PL****@PeterBlum.com
Creator of "Professional Validation And More" at
http://www.peterblum.com/vam/home.aspx

"Alan Silver" <al*********@nospam.thanx.invalid> wrote in message
news:mC**************@nospamthankyou.spam...
Hello,

If you add (say) two text boxes to a form, then add a validator with some
simple rule for one of them, you can observer the following problem:-

Type some erroneous value in the text box with the validator, then click
on the other text box. This makes the validator's red error message
appear. Now, change the invalid text to something valid, and without
clicking anywhere else, click the submit button.

What happens? The validator is fired again, turning off the error (as the
text is now valid) BUT THE FORM DOES NOT SUBMIT!!! You have to click the
submit button a second time to submit it.

This is a serious usability issue, as the majority of people would sit
looking at the page, waiting for it to do something. The page would sit
there looking at them, waiting for them to do something.

Guess who will get bored and go somewhere else first?

Anyone got a fix for this issue? TIA

--
Alan Silver
(anything added below this line is nothing to do with me)

Feb 23 '06 #2
Peter,

Thanks for the advice. When you say I should position the button above,
do you mean physically above, as in within the source? If not, what did
you mean?

Thanks again

In article <u3**************@TK2MSFTNGP09.phx.gbl>, Peter Blum
<PL****@Blum.info> writes
Hi Alan,

Unfortunately, its not a validator problem as much is its a limitation of
the browser.
1. The Validator hooks up to the onchange event of the textbox to show and
hide itself after and edit
2. The button will only fire when the click is completed on top of the
button. (So if you click a button and drag off, release the button does not
fire.)
3. The browser fires the onchange event before it executes the click code of
a button.
4. The validator has rearranged the page as it hides itself (during the
onchange event). This moves the button out from under the mouse.

The only solution is to design your page with this in mind. Position the
button above, use Validator.Display=Static, use absolute positioning, etc.

--- Peter Blum
www.PeterBlum.com
Email: PL****@PeterBlum.com
Creator of "Professional Validation And More" at
http://www.peterblum.com/vam/home.aspx

"Alan Silver" <al*********@nospam.thanx.invalid> wrote in message
news:mC**************@nospamthankyou.spam...
Hello,

If you add (say) two text boxes to a form, then add a validator with some
simple rule for one of them, you can observer the following problem:-

Type some erroneous value in the text box with the validator, then click
on the other text box. This makes the validator's red error message
appear. Now, change the invalid text to something valid, and without
clicking anywhere else, click the submit button.

What happens? The validator is fired again, turning off the error (as the
text is now valid) BUT THE FORM DOES NOT SUBMIT!!! You have to click the
submit button a second time to submit it.

This is a serious usability issue, as the majority of people would sit
looking at the page, waiting for it to do something. The page would sit
there looking at them, waiting for them to do something.

Guess who will get bored and go somewhere else first?

Anyone got a fix for this issue? TIA

--
Alan Silver
(anything added below this line is nothing to do with me)



--
Alan Silver
(anything added below this line is nothing to do with me)
Feb 23 '06 #3
The goal is to prevent the button from moving. If the validators are
resizing the area that they contain, they push HTML that is to the right and
below. By "above", the button some come earlier in the HTML and appear
visually higher on the page.

--- Peter Blum
www.PeterBlum.com
Email: PL****@PeterBlum.com
Creator of "Professional Validation And More" at
http://www.peterblum.com/vam/home.aspx

"Alan Silver" <al*********@nospam.thanx.invalid> wrote in message
news:SA**************@nospamthankyou.spam...
Peter,

Thanks for the advice. When you say I should position the button above, do
you mean physically above, as in within the source? If not, what did you
mean?

Thanks again

In article <u3**************@TK2MSFTNGP09.phx.gbl>, Peter Blum
<PL****@Blum.info> writes
Hi Alan,

Unfortunately, its not a validator problem as much is its a limitation of
the browser.
1. The Validator hooks up to the onchange event of the textbox to show and
hide itself after and edit
2. The button will only fire when the click is completed on top of the
button. (So if you click a button and drag off, release the button does
not
fire.)
3. The browser fires the onchange event before it executes the click code
of
a button.
4. The validator has rearranged the page as it hides itself (during the
onchange event). This moves the button out from under the mouse.

The only solution is to design your page with this in mind. Position the
button above, use Validator.Display=Static, use absolute positioning, etc.

--- Peter Blum
www.PeterBlum.com
Email: PL****@PeterBlum.com
Creator of "Professional Validation And More" at
http://www.peterblum.com/vam/home.aspx

"Alan Silver" <al*********@nospam.thanx.invalid> wrote in message
news:mC**************@nospamthankyou.spam...
Hello,

If you add (say) two text boxes to a form, then add a validator with
some
simple rule for one of them, you can observer the following problem:-

Type some erroneous value in the text box with the validator, then click
on the other text box. This makes the validator's red error message
appear. Now, change the invalid text to something valid, and without
clicking anywhere else, click the submit button.

What happens? The validator is fired again, turning off the error (as
the
text is now valid) BUT THE FORM DOES NOT SUBMIT!!! You have to click the
submit button a second time to submit it.

This is a serious usability issue, as the majority of people would sit
looking at the page, waiting for it to do something. The page would sit
there looking at them, waiting for them to do something.

Guess who will get bored and go somewhere else first?

Anyone got a fix for this issue? TIA

--
Alan Silver
(anything added below this line is nothing to do with me)



--
Alan Silver
(anything added below this line is nothing to do with me)

Feb 24 '06 #4
In article <uz*************@TK2MSFTNGP11.phx.gbl>, Peter Blum
<PL****@Blum.info> writes
The goal is to prevent the button from moving. If the validators are
resizing the area that they contain, they push HTML that is to the right and
below. By "above", the button some come earlier in the HTML and appear
visually higher on the page.
Thanks for the clarification. That makes life very difficult as using
static validators means wasting a lot of space for messages that may
never appear.

My guess is that it is the summary that is causing the problem as the
form I'm considering has one of the two submit buttons (and the one most
likely to be used) at the top, but below the summary. I'll try moving
the summary below the button and see if it helps.

Thanks again
--- Peter Blum
www.PeterBlum.com
Email: PL****@PeterBlum.com
Creator of "Professional Validation And More" at
http://www.peterblum.com/vam/home.aspx

"Alan Silver" <al*********@nospam.thanx.invalid> wrote in message
news:SA**************@nospamthankyou.spam...
Peter,

Thanks for the advice. When you say I should position the button above, do
you mean physically above, as in within the source? If not, what did you
mean?

Thanks again

In article <u3**************@TK2MSFTNGP09.phx.gbl>, Peter Blum
<PL****@Blum.info> writes
Hi Alan,

Unfortunately, its not a validator problem as much is its a limitation of
the browser.
1. The Validator hooks up to the onchange event of the textbox to show and
hide itself after and edit
2. The button will only fire when the click is completed on top of the
button. (So if you click a button and drag off, release the button does
not
fire.)
3. The browser fires the onchange event before it executes the click code
of
a button.
4. The validator has rearranged the page as it hides itself (during the
onchange event). This moves the button out from under the mouse.

The only solution is to design your page with this in mind. Position the
button above, use Validator.Display=Static, use absolute positioning, etc.

--- Peter Blum
www.PeterBlum.com
Email: PL****@PeterBlum.com
Creator of "Professional Validation And More" at
http://www.peterblum.com/vam/home.aspx

"Alan Silver" <al*********@nospam.thanx.invalid> wrote in message
news:mC**************@nospamthankyou.spam...
Hello,

If you add (say) two text boxes to a form, then add a validator with
some
simple rule for one of them, you can observer the following problem:-

Type some erroneous value in the text box with the validator, then click
on the other text box. This makes the validator's red error message
appear. Now, change the invalid text to something valid, and without
clicking anywhere else, click the submit button.

What happens? The validator is fired again, turning off the error (as
the
text is now valid) BUT THE FORM DOES NOT SUBMIT!!! You have to click the
submit button a second time to submit it.

This is a serious usability issue, as the majority of people would sit
looking at the page, waiting for it to do something. The page would sit
there looking at them, waiting for them to do something.

Guess who will get bored and go somewhere else first?

Anyone got a fix for this issue? TIA

--
Alan Silver
(anything added below this line is nothing to do with me)


--
Alan Silver
(anything added below this line is nothing to do with me)



--
Alan Silver
(anything added below this line is nothing to do with me)
Feb 27 '06 #5

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

Similar topics

9
by: Barbara de Zoete | last post by:
I am getting more and more confused as to the meaning of the words 'accessibility' and 'usability' *in the context of the world wide web*. What do these two words mean? How do they differ from one...
4
by: bissatch | last post by:
Hi, I am a web designer and have just recently took up the position of web marketer for a company managing their intranet and external website. I was interested in a book that provided good tips...
0
by: usable_us | last post by:
Hello, Oracle's Usability group will be conducting an incentive-based two hour usability activity. (This is not a job posting but an invitation to a two hour activity) This email was not...
1
by: iMedia User | last post by:
I have a site where I want to use the Web form validators in two separate forms on a single page. One form allows existing users to log in while the second one allows new users to register. The...
6
by: Mark | last post by:
We have Validators embedded in an asp table server control. The table server control is necessary and cannot be replaced. We want to apply CSS formatting to the validators, but the validators...
7
by: Adrian Parker | last post by:
Having a problem with validators. Because we want to only test whether the current field in a changed event is valid before we process the change code, I have tried to turn off all validators for...
0
by: YellowFin Announcements | last post by:
Introduction Usability and relevance have been identified as the major factors preventing mass adoption of Business Intelligence applications. What we have today are traditional BI tools that...
6
by: quanghoc | last post by:
Hi all, I used XMLSpy to validate my XML but it catched one error at a time. Is there anyway to make XMLSpy to catch all errors at once. If XMLSpy does not have this feature, what software out...
2
by: Alec MacLean | last post by:
Hi, I have a page using AJAX. The page has three modal popups that work fine when I don't have field validators in place. As soon as I put a validator in place, the popup "form" the validator...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.