How to Group fields same like Date created or Date Modified field ?

Hi All,

I want to group two custom fields same like date created field and that new field (grouped field) should be visible in all the roles layouts for record view layout setup from Studio.

Parents
  • You'll need to wrap the fields in a fieldset in the view's PHP file.

    Example:

                  array (
                    'name' => 'date_entered_by',
                    'readonly' => true,
                    'inline' => true,
                    'type' => 'fieldset',
                    'label' => 'LBL_DATE_ENTERED',
                    'fields' => 
                    array (
                      0 => 
                      array (
                        'name' => 'date_entered',
                      ),
                      1 => 
                      array (
                        'type' => 'label',
                        'default_value' => 'LBL_BY',
                      ),
                      2 => 
                      array (
                        'name' => 'created_by_name',
                      ),
                    ),
                  ),

Reply
  • You'll need to wrap the fields in a fieldset in the view's PHP file.

    Example:

                  array (
                    'name' => 'date_entered_by',
                    'readonly' => true,
                    'inline' => true,
                    'type' => 'fieldset',
                    'label' => 'LBL_DATE_ENTERED',
                    'fields' => 
                    array (
                      0 => 
                      array (
                        'name' => 'date_entered',
                      ),
                      1 => 
                      array (
                        'type' => 'label',
                        'default_value' => 'LBL_BY',
                      ),
                      2 => 
                      array (
                        'name' => 'created_by_name',
                      ),
                    ),
                  ),

Children