Thank you Aculine for your code. It works great. The only thing is the label disappears on text input. Is there any way to keep it displayed at the top?