Re: Form 2.0: Label inside the form fields

Anonymous
Not applicable

Form 2.0: Label inside the form fields

Using the 2.0 editor, can we display the labels inside the form fields? Thanks
Tags (1)
6 REPLIES 6
Josh_Hill13
Level 10 - Champion Alumni

Re: Form 2.0: Label inside the form fields

Do you mean hint text?

Yes, add Hint text for a field.
Anonymous
Not applicable

Re: Form 2.0: Label inside the form fields

No the labels themselves.0EM50000000Rn4a.jpg
Calvin_Lam
Level 4

Re: Form 2.0: Label inside the form fields

Looks like you already did it using hint text and emptying out the label.  Am I missing something?
Anonymous
Not applicable

Re: Form 2.0: Label inside the form fields

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?
Calvin_Lam
Level 4

Re: Form 2.0: Label inside the form fields

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;}
Anonymous
Not applicable

Re: Form 2.0: Label inside the form fields

Thank you Kevin. Works like a charm.