Adding form input validation.
fixing add PR form