#244: Only enable the submit buttons if all fields are valid, thanks to @smeagol74