Only allow submission when form is valid.

If the `comment` field is empty, the print-servlet complains with a
nasty and long textual error message.