When you submit a form with validation errors, then correct these errors and submit the form again, errors still show.
A simple fix is to remove errors classes in the form :

$('.form-item :input', args.local.form[0]).removeClass('error');

Here is a patch.

CommentFileSizeAuthor
ajax_disable_redirect.patch473 bytesjide

Comments

brendoncrawford’s picture

Status: Patch (to be ported) » Fixed

Jide,

I think this may have been fixed in one of the past dev releases, as I am not able to reproduce this issue. Please re-open bug if this issue still occurs.

Thanks,
brendon

jide’s picture

Brendon,

I confirm the issue has been fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

2pha’s picture

thanks, both the latest release and dev version I downloaded today needed this.

RobW’s picture

Priority: Normal » Minor
Status: Closed (fixed) » Needs work

On my installation drop-down boxes still retain their error class after correct submission. Tested in Firefox and Chrome, ajax dev release, on a webform block with disable_redirect enabled.