Ryan Petrich Mar 18
You need to have separate code for each type of text field. The accessibility API will help in some cases.