so i do as this
Code:
$('#requiredType').combobox({
onSelect: function (param) {
if (param=1)
{
$('#DrpHA').combobox({ required: false });
}
else
{
$('#DrpHA').combobox({ required: true });
}
}
});
if i creates more than once, how to chang the options?
and i find if i hide the required input ,but when i post the form ,it will find the $("form").form('validate') is false,can not post the form