Form 2.0: Label inside the form fields | Community
Skip to main content
April 25, 2014
Question

Form 2.0: Label inside the form fields

  • April 25, 2014
  • 6 replies
  • 2674 views
Using the 2.0 editor, can we display the labels inside the form fields? Thanks
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

6 replies

Josh_Hill13
Level 10
April 25, 2014
Do you mean hint text?

Yes, add Hint text for a field.
April 25, 2014
No the labels themselves.
Level 4
April 28, 2014
Looks like you already did it using hint text and emptying out the label.  Am I missing something?
April 28, 2014
Actually it was a mock up.

The only issue emptying out the label is if we make the field required then you have a random asterisk floating around in front of the field. Can we get rid of the asterisk?
Level 4
May 4, 2014
Sorry for the delay.  Edit the custom css of the form and add the following line will do the trick.  Also, see - https://community.marketo.com/MarketoArticle?id=kA050000000LHXhCAO

/* Add your custom CSS below */
 
.mktoForm .mktoRequiredField .mktoAsterix{display: none;}
May 5, 2014
Thank you Kevin. Works like a charm.