NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Niels Larsen on September 10, 2012, 01:31:27 AM

Title: Placeholder on a drop field?
Post by: Niels Larsen on September 10, 2012, 01:31:27 AM
Hi Bruce .
Is it possible to get a placeholder on a drop field?

Regards Niels
Title: Re: Placeholder on a drop field?
Post by: Bruce on September 10, 2012, 05:23:22 AM
yes and no.
not in the traditional sense, because a drop always displays one of the "list of values".

So what I usually do is add a value to the top of the list (more settings tab) with some sort of
[ select item ]
type entry.
(you can even set the css of this entry to grey if you like.)

so it's not a place-holder, because it's always visible in the list - but it does prompt the user to select something.

cheers
Bruce
Title: Re: Placeholder on a drop field?
Post by: Niels Larsen on September 10, 2012, 10:15:44 PM
Hi Bruce

I usually use the way to make a manual entry with the value zero.
But your idea of putting a gray color on, I had not thought of - that's smart!
Thanks for the reply.