0

how to remove Upload picture lable from avatar image field. enter image description here

0

Something similar to this should work. Use form id alter hook to remove the label from image field.

function yourmodule_form_user_register_alter(&$form, &$form_state) {

 // Search for the field you want to alter 

 // unset the label using $form['search_image_field_name'] or remove the label using empty string for that form field.
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.