How do I access a field inside of a field group on the user profile form?
Inside of my custom module, I am able to modify the account name and email no problem using the code below.
$form['account']['name']['#description'] = 'Enter a username';
$form['account']['mail']['#description'] = 'Enter a valid email address';
This does not work to modify a field inside of the personal information field group:
$form['Personal information']['profile_name']['#description'] = 'Enter a valid email address';
The part of the array that I am trying to access is below.
[Personal information] => Array
(
[#type] => fieldset
[#title] => Personal information
[#weight] => 1
[profile_name] => Array
(
[#type] => textfield
[#title] => First name
[#default_value] =>
[#maxlength] => 255
[#description] => Enter your first name. The content of this field is kept private and will not be shown publicly.
[#required] => 1
[#input] => 1