1

I have multiple forms in my application. I have used minimalistic view where there are no explicit labels for fields. For example, check wireframe displayed below: enter image description here

Here First Name, Last Name, and Username are mandatory fields.

However, due to "some" guidelines, I have to mention which fields are mandatory before the user would fill out the form.

What is the best way to indicate that these fields are mandatory?

I do not want to add labels to the text boxes just for this purpose, as I have used the same styling everywhere.

Here are two options that I tried:

enter image description here enter image description here

1

Even you don't use a separate HTML element as label, the placeholder has the same role in your case, so the first option is the most natural.

Please see an example from the Material Design Guidelines:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.