SOLVED

Forms 2.0 - no labels and using default value

Go to solution
Anonymous
Not applicable

Forms 2.0 - no labels and using default value

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? 
Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Re: Forms 2.0 - no labels and using default value

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.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Re: Forms 2.0 - no labels and using default value

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.
Anonymous
Not applicable

Re: Forms 2.0 - no labels and using default value

Kenny - what an idiot I am for not seeing that option/not knowing what it did. Thank you for offering this easy fix! 
Anonymous
Not applicable

Re: Forms 2.0 - no labels and using default value

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: [                 ]