Suite CRM 8 custom js file

Hi Team, How to add custom js file suitecrm 8 for custom validation purposes. Any other possible way to custom validation in-suite CRM 8

In Suite CRM 7 :

$viewdefs['Contact']['EditView']['templateMeta']['includes'] =
    array (
        array (
        'file' => 'custom/modules/Contacts/js/editview.js',
        ),
    );

This one should work as well on version 8.

Hi Andopes , I tried it but, not working. Please check my below code.

<?php
$module_name = 'CRM_Announcement';
$viewdefs [$module_name] = 
array (
  'EditView' => 
  array (
    'templateMeta' => 
    array (
      'maxColumns' => '2',
      'widths' => 
      array (
        0 => 
        array (
          'label' => '10',
          'field' => '30',
        ),
        1 => 
        array (
          'label' => '10',
          'field' => '30',
        ),
      ),
      'useTabs' => false,
      'tabDefs' => 
      array (
        'DEFAULT' => 
        array (
          'newTab' => false,
          'panelDefault' => 'expanded',
        ),
      ),
      'syncDetailEditViews' => true,
      'includes' => 
      array (
        0 => 
        array (
          'file' => 'public/legacy/custom/modules/CRM_Announcement/validations.js',
        ),
      ),
    ),
    'panels' => 
    array (
      'default' => 
      array (
        0 => 
        array (
          0 => 'name',
          1 => 'assigned_user_name',
        ),
        1 => 
        array (
          0 => 'description',
        ),
        2 => 
        array (
          0 => 
          array (
            'name' => 'start_date',
            'label' => 'LBL_START_DATE',
          ),
          1 => 
          array (
            'name' => 'end_date',
            'label' => 'LBL_END_DATE',
          ),
        ),
        3 => 
        array (
          0 => 
          array (
            'name' => 'alert_on',
            'studio' => 'visible',
            'label' => 'LBL_ALERT_ON',
          ),
          1 => 
          array (
            'name' => 'user_type',
            'studio' => 'visible',
            'label' => 'LBL_USER_TYPE',
          ),
        ),
      ),
    ),
  ),
);
;
?>

Hi, Is format builder available / going to be in Suite CRM 8? I love it in CRM 7 but I am about to upgrade to version 8 and can’t seem to see that it is available. If not is there an easy alternative for a user to be able to add validations to fields?

hello, @PreamDev there is anything new please?