mbest / knockout-freedom

Frees each binding from being updated by updates to its siblings.
14 stars 0 forks source link

mandatory textbox and just tabbing out should show the required error message. #7

Closed shiras closed 11 years ago

shiras commented 11 years ago

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.