setting checkbox Checked in user_registration_form Array
(
[account]
   [notify] =&gt; Array
                (
                    [#type] =&gt; checkbox
                    [#title] =&gt; Notify user of new account
                    [#access] =&gt; 1
                )

)


I want to checkbox on user_registration_form must be checked by default.
I did $form['account']['notify']['#default_value'] = array(1); but it does't work.Suggest something.
Please Try this

$form['account']['notify']['#default_value'] = TRUE; 


Thank You.