[buddypress-trac] [BuddyPress Trac] #5914: Registration form: Proposed enhancements for touch devices

buddypress-trac noreply at wordpress.org
Mon Sep 29 09:55:40 UTC 2014


#5914: Registration form: Proposed enhancements for touch devices
---------------------------+-----------------------------
 Reporter:  standardspace  |      Owner:
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Theme          |    Version:
 Severity:  normal         |   Keywords:
---------------------------+-----------------------------
 I've not submitted a ticket her before so apologies if this is not the
 correct protocol.
 The default theme registration page:
 /bp-themes/bp-default/registration/register.php
 contains two fields that cause problems on iOS and, potentially, other
 touch interfaces.

 Input to the "signup_username" and "signgup_email" field is auto-
 capitalised and auto-corrected. In addition the email field is of
 type="text" rather than type="email" ans so doesn't active the email entry
 optimised keyboard with the prominent @ symbol.

 My suggestions are that:
 The "signup_username' field should have the following attributes added:

 {{{
  autocorrect="off" autocapitalize="off"
 }}}
 The "signup_email" field has the type changed from "text" to "email"

 {{{
 type="email"
 }}}

 The the following lines would change from

 {{{
 37                                              <label
 for="signup_username"><?php _e( 'Username', 'buddypress' ); ?> <?php _e(
 '(required)', 'buddypress' ); ?></label>
 38                                              <?php do_action(
 'bp_signup_username_errors' ); ?>
 39                                              <input type="text"
 name="signup_username" id="signup_username" value="<?php
 bp_signup_username_value(); ?>" />
 40
 41                                              <label
 for="signup_email"><?php _e( 'Email Address', 'buddypress' ); ?> <?php _e(
 '(required)', 'buddypress' ); ?></label>
 42                                              <?php do_action(
 'bp_signup_email_errors' ); ?>
 43                                              <input type="text"
 name="signup_email" id="signup_email" value="<?php
 bp_signup_email_value(); ?>" />
 }}}

 to
 {{{
 37                                              <label
 for="signup_username"><?php _e( 'Username', 'buddypress' ); ?> <?php _e(
 '(required)', 'buddypress' ); ?></label>
 38                                              <?php do_action(
 'bp_signup_username_errors' ); ?>
 39                                              <input type="text"
 name="signup_username" id="signup_username" value="<?php
 bp_signup_username_value(); ?>" autocorrect="off" autocapitalize="off" />
 40
 41                                              <label
 for="signup_email"><?php _e( 'Email Address', 'buddypress' ); ?> <?php _e(
 '(required)', 'buddypress' ); ?></label>
 42                                              <?php do_action(
 'bp_signup_email_errors' ); ?>
 43                                              <input type="email"
 name="signup_email" id="signup_email" value="<?php
 bp_signup_email_value(); ?>" />
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5914>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list