Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: using placeholder attribute instead of label

@mmadden

Participant

That’s the right area, but no… I mean doing something like this:

<input type="text" placeholder="<?php _e('Username', 'buddypress'); ?> <?php _e( '(required)', 'buddypress' ); ?>" name="signup_username" id="signup_username" value="<?php bp_signup_username_value(); ?>" />

Instead of something like this:

<label for="signup_username"><?php _e( 'Username', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label>

…only for the profile field.

Skip to toolbar