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'];
CommentFileSizeAuthor
#1 skip_login_button_ux_flaw-1694018-1.patch1.08 KBexlin
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

exlin’s picture

Status: Active » Needs review
FileSize
1.08 KB

Patch is helping, but it's not most elegant way to solve issue.

exlin’s picture

Status: Needs review » Closed (works as designed)

Sorry, there were some custom stuff involved.

No longer valid, kkthxbye ;)