There is a phone number entry field, you need to:
- Pressing clears the text entry field.
- if the input field is empty, then when you click on the button, the message "fill in the field" is displayed
Tracking text input required , added scripts for cleaning, required work ceases to work.
Напишите телефон <input name="Телефон" type="text" class="pole" required placeholder="+780080080" /> Отправить <input class="tab_zakaz_knopka" name="_submit_" type="image" src="img/zakazat.jpg" onfocus="if(value=='+780080080'){value=''}" onblur="if(value=='') { value='+780080080' }"/> If add to input:
onfocus="if(value=='+780080080') {value=''}" onblur="if(value=='') {value='+780080080'}"