<div class="box1">
<p class="name">*Почта</p>
<input type="text" name="mail" placeholder="Например: “example@mail.ru”" value="" required>
</div>
var requiredField = $("#form4").children("[required=required]");
var requiredField = $("this.#form4").children("[required=required]");