Add client-side validation for p-values