protected function removeFieldsValidationConfiguration(array &$formConfiguration)
    {
        foreach ($formConfiguration['fields'] as $fieldName => $fieldConfiguration) {
            if (true === isset($fieldConfiguration['validation'])) {
                unset($fieldConfiguration['validation']);
                unset($fieldConfiguration['activation']);
                $formConfiguration['fields'][$fieldName] = $fieldConfiguration;
            }
        }

        return $this;
    }
protected function removeFieldsValidationConfiguration(array &$formConfiguration)
    {
        foreach ($formConfiguration['fields'] as $fieldName => $fieldConfiguration) {
            if (true === isset($fieldConfiguration['validation'])) {
                unset($fieldConfiguration['validation']);
                unset($fieldConfiguration['activation']);
                $formConfiguration['fields'][$fieldName] = $fieldConfiguration;
            }
        }

        return $this;
    }
protected function removeFieldsValidationConfiguration ( array & $ formConfiguration ) { foreach ( $ formConfiguration [ 'fields' ] as $ fieldName => $ fieldConfiguration ) { if ( true === isset ( $ fieldConfiguration [ 'validation' ] ) ) { unset ( $ fieldConfiguration [ 'validation' ] ) ; unset ( $ fieldConfiguration [ 'activation' ] ) ; $ formConfiguration [ 'fields' ] [ $ fieldName ] = $ fieldConfiguration ; } } return $ this ; }
To lower the length of the JavaScript code, we remove useless fields
validation configuration.

@param array $formConfiguration
@return $this
To lower the length of the JavaScript code we remove useless fields validation configuration .