aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/pages/FormPage.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pages/FormPage.tsx b/src/pages/FormPage.tsx
index 6c7cad2..1a9b7cf 100644
--- a/src/pages/FormPage.tsx
+++ b/src/pages/FormPage.tsx
@@ -174,6 +174,7 @@ function FormPage(): JSX.Element {
});
function handleSubmit(event: SyntheticEvent) {
+ event.preventDefault();
// Client-side required validation
const invalidFieldIds: string[] = [];
questionsMap.forEach((prop, id) => {