Skip to main content
added 8 characters in body
Source Link
Yuseferi
  • 22.2k
  • 22
  • 118
  • 218

I tested it and worked for me:

$form['field_user_flag']['und']['#default_value']$form['field_user_flag'][LANGUAGE_NONE]['#default_value'] = 1;

You can also set a default value of this field (in field settings in field managment).

I tested it and worked for me:

$form['field_user_flag']['und']['#default_value'] = 1;

You can also set a default value of this field (in field settings in field managment).

I tested it and worked for me:

$form['field_user_flag'][LANGUAGE_NONE]['#default_value'] = 1;

You can also set a default value of this field (in field settings in field managment).

I testtested it and worked for me:

         $form['field_user_flag']['und']['#default_value'] =1;= 1;

also youYou can also set a default value of this field to check (in field settings in field managment).

I test it and worked for me

         $form['field_user_flag']['und']['#default_value'] =1;

also you can set default value of this field to check (in field settings in field managment)

I tested it and worked for me:

$form['field_user_flag']['und']['#default_value'] = 1;

You can also set a default value of this field (in field settings in field managment).

Source Link
Yuseferi
  • 22.2k
  • 22
  • 118
  • 218

I test it and worked for me

         $form['field_user_flag']['und']['#default_value'] =1;

also you can set default value of this field to check (in field settings in field managment)