Default action of xforms-submit-error

I propose to add text to the effect that the default action of the  
xforms-submit-error event is a message displaying at least the error-type,  
error-message, response-status-code, response-reason-phrase, and  
resource-uri. Something along the lines of

        <message>Submission error.
   error-type: <output value="event('error-type')"/>
   error-message: <output value="event('error-message')"/>
   response-status-code: <output value="event('response-status-code')"/>
   response-reason-phrase: <output  
value="event('response-reason-phrase')"/>
   resource-uri: <output value="event('resource-uri')"/>
        </message>

A form can always catch and cancel the event so that this message doesn't  
happen, but at least submissions won't fail silently.

Steven

Received on Wednesday, 8 April 2020 15:12:24 UTC