PDA

View Full Version : Prevent form field from gaining focus



grnadav
19 May 2012, 11:42 PM
Hello

Is there a way to prevent a form field from gaining focus?
I have a readOnly field and don't want the user to be able to focus on it at all (i.e. tab-index -1? )

Thanks

grnadav
20 May 2012, 3:16 AM
I hate replying to myself, but the way I found (which satisfies my needs but not so obvious) is use disabled:true