>Do you mean you tried the ng-focus directive in angularjs ?
I didn't yet try ng-focus, let me try it. How should I use ng-focus to focus the first element?
I tried using just focus="true" (for all controls in a loop) but this didn't work. I think my problem is that I'm using nav-tabs. I found related discussion but it's a bit over my head
https://stackoverflow.com/questions/24491779/set-focus-to-an-input-within-a-bootstrap-tabcontent-on-tab-changeand I don't know how should I incorporate that in my own code.
BTW, can you please also help with my other thread? When I left to sleep last night (I worked till 12 am) I realized my solution is not going to work in the case my message returns nothing and I do want the Save to fire. Right now it sort of works because I was testing with returning my error message.
I am not sure how to get the logic to work, e.g. have my method that may call server call return its result and only after that fire the Save if it's OK.
If it's not broken, fix it until it is.
My Blog