- From: Steven Pemberton <Steven.Pemberton@cwi.nl>
- Date: Wed, 16 Apr 2014 14:55:47 +0200
- To: "Forms WG" <public-forms@w3.org>
- Cc: "public-xformsusers@w3.org" <public-xformsusers@w3.org>
Erik's recent message reminded me of an issue I have with the xforms-submit-error event. Currently the default action for a submission error is to do nothing: https://www.w3.org/MarkUp/Forms/wiki/XForms_2.0#The_xforms-submit-error_Event Default Action: None This seems to me to be terribly user-unfriendly. Nothing happens, and it is hard to find out what's (not) happening. I would like to propose that the default action be a message, with relevant context information, such as: Submission failed error-type: result-media-type error-message: application/pdf resource-uri: http://example.com/submit (Of course, an implementation could make this even friendlier Submission Failed Submission to "http://example.com/submit" failed, with error-type "result-media-type". This means the server sent data of a type that cannot be processed. The type reported was "application/pdf". ) Steven
Received on Wednesday, 16 April 2014 12:56:24 UTC