added require validate and ya-required attributes