Hi,
1st requirement - I have designed a form which has two text input control. where both are mandatory. now when the user just tabs out and the text box looses focus the error message should be displayed. I am using knockout-validation with custom rules written.
2nd requirement - on click of the submit button, for all the text input if the rule fails it should show error message.
currently I am using hasfocus with few rules written to it. it works, but in chrome/safari and firefox 22 it takes 2 tabs to come out of the text input.
Hi, 1st requirement - I have designed a form which has two text input control. where both are mandatory. now when the user just tabs out and the text box looses focus the error message should be displayed. I am using knockout-validation with custom rules written.
2nd requirement - on click of the submit button, for all the text input if the rule fails it should show error message.
currently I am using hasfocus with few rules written to it. it works, but in chrome/safari and firefox 22 it takes 2 tabs to come out of the text input.
please advice.