View Full Version : focus() doesn't allow typing in DateField

25 May 2007, 8:07 AM
Can someone confirm that if you set focus to a DateField you can not type anything before you reselect it?

25 May 2007, 9:02 AM
Just tried this with the dynamic form example and it worked in FF and IE7.

fs.findField('dob').focus() // or focus(true)

25 May 2007, 11:17 AM
Hmm.. I might loose focus because I'm adding tabs to TabPanel which contains the form...

25 May 2007, 12:19 PM
Adding a tab will trigger activation which may be shifting focus away from your form.