Avatar

Level 10

Well in the Font Palette, there is the option to turn underline on for any text

Or you can choose the textfield which you want it to be underline and just press Ctrl + U

For dotted underline, your method is the best bet, until you can make it work with loadXML() with text-decoration and border-bottom-style

Good luck!