- From: Ulrich Nicolas Lissé <u.n.l@gmx.net>
- Date: Thu, 10 Nov 2005 18:25:19 +0100
- To: www-forms@w3.org
Hi All, I have a question about submit processing. At http://www.w3.org/TR/2005/PER-xforms-20051006/slice11.html#submit-event you can read: ... 2. All selected instance data nodes are checked for validity according to the definition in 4.3.5 The xforms-revalidate Event (no notification events are marked for dispatching due to this operation). Any selected instance data node that is required but empty or found to be invalid stops submission processing after dispatching event xforms-submit-error. ... My question is: How is the UI expected to behave in case some nodes are found to be invalid ? Since no notification events are marked for dispatching one could draw the conclusion that the UI isn't updated as well. But this would mean that the user won't see which fields are invalid and caused the submission to fail. There could be an event handler for xforms-submit-error executing a xf:refresh in order to update all control's states, but I don't think this would be good option. That way the form authors would be forced to attach such an event handler to any xf:submission just to be able to visualize what went wrong. So how can/should this be accomplished ? Regards, Uli. -- Ulrich Nicolas Lissé
Received on Thursday, 10 November 2005 17:25:38 UTC