in real using ,sometimes one input is required,sometimes the input is not required.
so i do as this
$('#requiredType').combobox({
onSelect: function (param) {
if (param=1)
{
$('#DrpHA').combobox({ required: false });
}
else
{
$('#DrpHA').combobox({ required: true });
}
}
});
am I created the combobox more than once?
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