Convert form errors to dev codes (bug 887471)