Validating pendingtask form