Hi,

the second email field shows up with a delay (after drual finished thinking). I have observed that users by then have already proceeded to fill in the next field and they have to go back again to the second email field. I think this loop should be avoided if possible.

p.

Comments

brianlp’s picture

Title: Show or deactivate second email field » Improve user experience

Bump

Suggestion is to schow the second email field (grayed out) upfront so the user doesn't proceed to quickly. Or give an option to turn it off (use only one email field).

Alternatively - but I don't know if this is technically possible - if the cursor leaves the field and the check begins, then prevent placing it somewhere else but move it to the second email field (or password field).

brianlp’s picture

Issue summary: View changes

typo

legolasbo’s picture

Issue summary: View changes
Status: Active » Reviewed & tested by the community
legolasbo’s picture

Status: Reviewed & tested by the community » Fixed

This has been added in the 2.x branch. Specifically in the following piece of code as part of commit 60375e78:


/**
 * Ajax callback: returns the account information pane to an AJAX request.
 */
function commerce_checkout_login_checkout_form_refresh($form, $form_state) {
 ...

  // Return AJAX commands to set focus to the mail confirmation field for
  // improved user experience.
  $commands = array();
  $commands[] = ajax_command_replace('#' . $form['account']['login']['mail']['#ajax']['wrapper'], drupal_render($form['account']['login']));
  $commands[] = ajax_command_invoke('[name="account[login][mail_confirm]"]', 'focus');
  print ajax_render($commands);
  exit;
}

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.