function NotNull(field, params)
{
    var value = field && field.nodeName ? {{ getJsFormElementValue('field') }} : field;

    if (typeof(value) == 'undefined' || value === null || value === '') {
        return getComputeMessage(params.message);
    }

    return true;
}

Extend APYJsFormValidationBundle to make it compatible with custom errors styles - add NotNull JS validator
BAP-771: Extend APYJsFormValidationBundle to make it compatible with custom errors styles
- add NotNull JS validator
