Hi Dimitar
The event validationSuccess is not fired when it is used with jqxcombox.
Can you tell me what i do wrong. May be is not the right event used in the rule for combobox
But event “change” work perfectly with the jxcombobox.
Just an extract of my code. I have many UI on this form with 2 combobox but as long as i have rules on combobox, the validation succes is not fired when I call the jdxvalidation(“valide”).
<form id=”formCompteClient”>
<table id=”fccTable”>
<tr><td colspan=”2″><div id=”fccPays”></td></tr> // Combobox Country
…..other lines with input……
</table>
</form>
<!–unit UI –>
$(“#fccPays”).jqxComboBox({source : dfmApp.pays , search : ‘startswithignorecase’});
<!— defines rules –>
$(‘#formCompteClient’).jqxValidator(
{ position : “top” ,
rules: [
{ input: ‘#fccPays’, message: “Pays à remplir”, action: ‘change , blur’,
rule: function(input, commit){
if($(input).val().trim() == “”) return false ; else true ;}
}
]
}) ;
$(“#fccBtnValider”).on(“click”, function(event){
$(“#formCompteClient”).jqxValidator(‘validate’);
});
$(‘#formCompteClient’).on(‘validationSuccess’, function (event){
console.log(“validationsuccess”) ;
}
) // end .