I have a django contact form and i want the initial text that is found into the form to dissapear when the cursor is in the field.
My form is now:
from django import forms
class ContactForm(forms.Form):
numele_dumneavoastra = forms.CharField(required=True, label="", initial="Numele Dumneavoastra")
numarul_de_telefon = forms.CharField(required=True, label="", initial="Numarul de Telefon ")
# perioada_cand_va_putem_contacta = forms.CharField(required=True)
mesajul_dumneavoastra = forms.CharField(required=True, widget=forms.Textarea, label="", initial="Mesajul Dumneavoastra")
emailul_dumneavoastra = forms.EmailField(required=True, label="", initial="Email")
The text looks like this image
When the user inserts his name e.g. "John Doe" i want the initial text " Numele Dumneavoastra" to dissapear from sight. Thank you!