Alex Lee Choong Young
Posts: 0
Joined: Sun Dec 01, 2013 11:12 am

Empty Message for Textbox

Hi Guys,

Is there a way to create a textbox with empty message inside? eg. Key in your email here.

The only way I can think of so far is to give the textbox an onkeydown event then put in the action to clear the textbox.

Is this a common practice? Are there any alternatives to do this? :)

Thanks in advance !

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Empty Message for Textbox

Hello! Sorry, not sure I understand the question. Could you clarify please? What do you want to have as result?

Alex Lee Choong Young
Posts: 0
Joined: Sun Dec 01, 2013 11:12 am

Empty Message for Textbox

Good Day Maryna,

Of course! Please refer to image below on what I trying to achieve. Basically it's like the search box control of Appery. I would like to apply the same feature on normal textbox.

Image

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Empty Message for Textbox

If I understanf correctly you want to add placeholder for textbox. Delete text in Textbox and in More properties add placeholder attribute and value you need.

Alex Lee Choong Young
Posts: 0
Joined: Sun Dec 01, 2013 11:12 am

Empty Message for Textbox

Thanks Maryna ! Just saw that inside documentation

Return to “Issues”