Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If user enters values to login pane and presses submit button in continue pane, will login credentials be sent to same validator as it would if proceed button would be pressed in login pane.
Patch i will post on comment below is working, but requires form altering to differentiate the labels of both buttons.
Think better solution would be to allow own validation for both login and continue pane's buttons.
Currently even if both have own buttons and validate methods, gets first two from sample below ignored and ['buttons']['continue']['#validate'] value get's used on both of them.
$form['login_pane']['buttons']['continue']['#validate'];
$form['continue_pane']['buttons']['continue']['#validate'];
$form['buttons']['continue']['#validate'];
Comment | File | Size | Author |
---|---|---|---|
#1 | skip_login_button_ux_flaw-1694018-1.patch | 1.08 KB | exlin |
Comments
Comment #1
exlin CreditAttribution: exlin commentedPatch is helping, but it's not most elegant way to solve issue.
Comment #2
exlin CreditAttribution: exlin commentedSorry, there were some custom stuff involved.
No longer valid, kkthxbye ;)