[Pro] Cursor in form fields

Hi, I have a form setup on a page, with the text labels within form fields. Currently, the user needs to select and delete the text before typing in the required details. Is there anything that can be done to delete the field text when the box is clicked on. ie enabling the user to type the details directly into the form without deleting the text first?

I have included a link to the page below.

http://covarrdesign.com/toyproject/order-our-handmade-toys.html


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Use the placeholder attribute:

<input type=“text” placeholder=“Some text here”>

And if you’re concerned about browsers that don’t support placeholder Walter has a js shiv with Prototype and jQuery versions (the latter written by me).

Todd
https://xiiro.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Use the placeholder attribute:

Which you will find in the Inspector (under the 3rd Tab) when your Text field is selected and your page is set to HTML5

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks very much guys, I have sorted it out using the Placeholder attribute. Works perfectly.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options