Fixed a silly mistake in the form: it now works when there's no output.