I think that we should skip the rule "use $form_state['values'] instead, which is where the values are stored after a submit" when the $form is used within a form_error().

CommentFileSizeAuthor
#1 form_error.patch690 bytesdouggreen
form_error.patch688 bytesdouggreen

Comments

douggreen’s picture

StatusFileSize
new690 bytes

Actually, here's the patch... use #never instead of #not. BTW, I updated the documentation to include #never and added some emphasis on #not.

stella’s picture

Status: Needs review » Reviewed & tested by the community

Tested and works.

klausi’s picture

Issue summary: View changes
Status: Reviewed & tested by the community » Closed (won't fix)

Whoa, ancient issue :)

I think Coder 6.x should be frozen to security fixes only at this point, so I'm closing this. Feel free to reopen if you disagree.