0

Instead of setting up 3 TextFields on a Stage that collect first, second and last names, I'd like to have just one in which a user can enter all his/ her names. I think my form will look simpler, less clustered, therefore less complicated for my users.

I was on some web page some time back and saw an implementation of the above this way:

The text field when blank shows three parts hinting first, second and last name. When initially on forcus, only the first name hint dissapeared, but the others, second and last remained. Then when you're done entering the first name and press spacebar, the second name dissapears and now only the last name hint shows. The same will go for last name after entering the second name.

All text dissapears when the hint is set as new TextField("hint");.

Is there a way to go about it without having all the hints dissapear on focus?

Thank you all in advance.

Program-Me-Rev
  • 6,184
  • 18
  • 58
  • 142

0 Answers0