Inline editor field validation, want to keep focusing the field
Inline editor field validation, want to keep focusing the field
I am using inline editing and want keep focusing the text field if validation is false. i have tried preSubmit, preBlur and perClose event.
perBlur does not fires
perSubmit only fires when value is change
perClose fires every time
so i applied validation on preSubmit event and save validation result in variable later i pass this variable in preClose event as return value.
its working for first time, after that it only firing perClose event.
Is something i am missing here OR what will be the right approach in this scenario.