fix to stop displaying form submission error message when loading form from localhost (for testing)