Closed (fixed)
Project:
Drupal core
Version:
7.8
Component:
forms system
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Oct 2011 at 16:41 UTC
Updated:
30 Nov 2012 at 15:54 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #0.0
wildfeed commentedadded screenshot
Comment #1
franzI take it is not a usual textfield, is it? How can we reproduce?
Comment #2
Anonymous (not verified) commentedI'm having a similar problem on a field with custom validation. I'm building a multi-step form with these interdependent elements:
… and this custom validation:
If I select 'Yes' (value = '2') and submit without altering the default text in the next field, I get the custom error message ('You said you have a website, but you didn’t tell us the address'), but the error class is not added to the element. Same thing with an empty textfield; error message displayed, as expected, but no error class added to field.
Note: I had to encode the 'h' in http ('&104;ttp') for the title strings to post my code here without links being inserted by the comment system.
Comment #3
franz'submitted][url' is not the right argument here, 'url' is. Please read the docs on form_set_error()
Anyways, not sure if it's the same issue as original.
Comment #4
dddave commentedClosing old, stale issues. Re-open if your problem persists.
Comment #4.0
dddave commentededited