Tabstrip navigation restriction
I have a tabstrip with two tabs, say Tab1, and Tab2.
In the tab Tab1, i have an input field, say input1, type D.
In the tab Tab2 i have an input field, say input2, type I.
Now i enter a string in the input field Input1 of tab Tab1, and presses second tab Tab2.
Here the navigation happens, rather i want to stop the navigation, and wants the system auto generated mesage and also it should not allow me to go to tab Tab2 till i correct the error.
Is there any logic for this, or any settings needs to be done to achieve this?
Actually i am able to get the system generated error message but cannot stop navigation into another tab.
Please suggest me something.