improvements in text field examples