4

I have an input field which is mandatory. I need to add (*) asterisk sign to with the label. For now, it is working fine but it is showing in middle along with string.

Here I have an image attached.

For now, It's showing like this. asterisk sign is in middle on text

demo

I want to make it like this. Asterisk sign in upper of the text

enter image description here

Parth Bhatti
  • 468
  • 1
  • 7
  • 19

1 Answers1

9

Something Like this

String s = "Test Coop \*";
Diksha Pruthi
  • 276
  • 2
  • 5