function ff_showvalidation(element, message)
{
    if(typeof bfUseErrorAlerts == 'undefined'){
        swal('Validation of '+element.name+" with message: \n"+message);
    } else {
        alert('Validation of '+element.name+" with message: \n"+message);
    }
    return '';
}