Forms 2.0 - no labels and using default value | Community
Skip to main content
June 4, 2014
Solved

Forms 2.0 - no labels and using default value

  • June 4, 2014
  • 3 replies
  • 1268 views
I'm attempting to replicate something we had working quite well with our old forms, whereas there is no label next to the form field, instead - the default value is set to read "First Name" within the field itself, for example. 

In forms 2.0 i am having a problem where the default value does not erase once a user inserts their cursor into the field. So they have to literally erase the word "First Name" to type in their own.

Anyone have a quick workaround, perhaps involving some javascript that would erase the default with active cursor? 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by
Are you opposed to using Hint Text on the form?  Which is, in essence, just adding a placeholder attribute to the input.  It disappears once the lead starts typing in the input field.

3 replies

July 10, 2014
I'm having problem with this. I already emptied the Hint Text on the form but still the text appears on the text field.

So i have like this:

Label: Textfield

First Name: [ First Name ]

I want like this one
First Name: [                 ]
June 4, 2014
Kenny - what an idiot I am for not seeing that option/not knowing what it did. Thank you for offering this easy fix! 
Accepted solution
June 4, 2014
Are you opposed to using Hint Text on the form?  Which is, in essence, just adding a placeholder attribute to the input.  It disappears once the lead starts typing in the input field.