W3C home > Mailing lists > Public > www-forms@w3.org > April 2001

RE: What about navigation on multiple input validation errors?

From: A Rafael D Teixeira <rafaelteixeirabr@hotmail.com>
Date: Wed, 11 Apr 2001 12:48:47 -0300
To: JBoyer@PureEdge.com, www-forms@w3.org
Message-ID: <LAW2-F99O7bhXfT433n00003625@hotmail.com>
As I already replied to Brian, there are 2 situations where batch validation 
(validating all the fields, probably, when submitting) is needed:

1 - Checking for mandatory fields. Because the user has freedom to jump 
around the form, skipping fields, so that checking-as-you-type wont work.

2 - Applying validation rules (constraints) that work by relating more than 
one field (ex.:  if field "A" is filled then field "B" is mandatory, or 
field "C" must be greater than field "D",...)
[Mainly what youve said, John]

Also, back-end validations (business rules) can issue multiple "warnings", 
so that my current XML+XSLT+Javascript solution, make those appear and 
behave identically (browser-detected errors catch before sending, and 
"business objects"-detected errors returned after processing the posting).

PS.: Arnas Opalnikovas and Elizabeth Hinson, asked me to show/detail my 
current implementation, but Im bound to a NDA from my employeer... Sorry.


----Original Message Follows----
From: "John Boyer" <JBoyer@PureEdge.com>
To: "Brian Miller" <brian_n_miller@yahoo.com>, <www-forms@w3.org>
Subject: RE: What about navigation on multiple input validation errors?
Date: Tue, 10 Apr 2001 09:42:56 -0700

Hi Brian,

I would agree, except that I think the dynamic constraint language can
run calculations on the validation constraints, and if so, many
simultaneous things can break and the result of one user change, perhaps
even on pages other than the one the user is viewing.

John Boyer
Senior Product Architect, Software Development
Internet Commerce System (ICS) Team
PureEdge Solutions Inc.
Trusted Digital Relationships
v: 250-708-8047  f: 250-708-8010
1-888-517-2675   http://www.PureEdge.com <http://www.pureedge.com/>



-----Original Message-----
From: Brian Miller [mailto:brian_n_miller@yahoo.com]
Sent: Tuesday, April 10, 2001 9:21 AM
To: www-forms@w3.org
Subject: Re: What about navigation on multiple input validation errors?


I expect an XForms form would try to validate when any

field is edited or (at the latest) when any field
blurs.  Batching errors until form completion doesn't
seem as user-friendly.

A Rafael D Teixeira <rafaelteixeirabr@hotmail.com>
  wrote:
 > Ive implemented some javascript to visually tag the
 > many input errors a user does and present then in a
 > navigable way so the user can correct the first
 > error (automatically presented and given focus) and
 > easily go to the next (that can be out of sight in
 > large forms) to fix it as well, and so on.
 >
 > Can I hope to see some automatic support for it in
 > XForms?

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Received on Wednesday, 11 April 2001 11:49:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:49 GMT