Bug: Form Fails on 2xx codes

There are more success codes than 200 for a server.
Unfortunately, if the form widget receives any response with a status that is not 200- it does not show the response to the user.

This could be fixed by also passing the response to the user in the Form.prototype.send function like this:

The user could then handle it with the promise that the function returns.

Thank you for your report. The problem is confirmed. We’ll try to fix it in the future udpates.

We have fixed your reported problem in the latest update (7.2.4) of the dhx.Form.
Now any successful response (2xx) will be accepted.

1 Like