If you happen to have a required field inside a vertical tab (like, not on the topmost tab of it), and you submit the form without the field being filled out, there is no obvious indication on the screen of where this required field is located. I thought this was a significant usability issue.
I noticed this in a d.o d7 port dev site, where the drupalorg module has form altered the node editing form for some content types to make the revision log message required. If I submitted the form without filling out the revision log message, the red-outlined revision log message field was not immediately visible on the screen.
I'm assuming it's also a D8 issue...
Comment | File | Size | Author |
---|---|---|---|
#1 | custom_module.zip | 2.03 KB | sushyl |
#1 | invisible empty field.png | 103.84 KB | sushyl |
Comments
Comment #1
sushylI tested it with adding a custom textfield to content type confingirations.
The issues seems to be there in both D7 as well as D8 versions.
The user won't be able to locate the field with error easily. I think this needs work.
I am attaching the module files I used to reproduce this issue and screenshot after submitting the form.
Comment #2
sushylComment #3
afeijoI will try to patch this one in the next days ;)
Comment #4
jhodgdonThe "needs work" issue status indicates ... well, you can read about it here: https://drupal.org/node/156119
Comment #5
sushylThanks jhodgdon, my bad..
I don't know how I missed that page...
Comment #14
catchMarking duplicate of #2911932: Correct vertical tab does not focus on form validation although this is the older issue, because it has a patch.
Comment #15
catch