When the first element in a form is set to display: none (in my case fivestar module does this) and client-side validation is enabled for that field. The "Scroll to error message"-feature doesn't scroll to the correct position of the field.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2737525-1.patch | 1.27 KB | geertvd |
Comments
Comment #2
geertvd commentedAttached patch temporarily displays the field to find out it's position and hides it afterwards. I'm also setting
visibility: hiddenandposition: absoluteto avoid any blipping or jumping effect in some older browsers.Comment #4
jelle_sFixed in 7.x-1.x-dev. Thanks for the patch!
Comment #5
jelle_s