diff --git a/phone_registration.module b/phone_registration.module index 791cbb1..5888ebe 100644 --- a/phone_registration.module +++ b/phone_registration.module @@ -77,6 +77,7 @@ function phone_registration_form_alter(&$form, FormStateInterface $form_state, $ // Checked phone registration settings is enabled or not. if ($phone_register_setting == 1) { $form['name']['#title'] = 'Username/Phone Number'; + $form['name']['#description'] = 'Enter your username or phone no.'; array_unshift($form['#validate'], "phone_registration_login_validation"); } }