Enable Textbox Validation


Enable validation on textbox
function requireElement(elementid) {
    return $("#" + elementid).enableValidation();
}

You have to make the form control required in order to be able to enableValidation dynamically