﻿function onCheckedChanged(s, e) {
    buttonCreateUser.SetEnabled(s.GetChecked());
}

function onComboBoxValidation(s, e) {
    if (s.GetSelectedIndex() == -1 && s.GetText() != '') {
        e.isValid = false;
    }
}
