validation for the <p>