Questions tagged [netlify-form]
24 questions
3
votes
0 answers
Netlify form submits but shows "Error: --success msg--" after form submission
When I submit the form, I get the response in my mail box but I see something like..
Error: Thank You! after I submit it.
Here is my code:
2
votes
1 answer
NextJS + Netlify Form | Form Submission causes HTTP Error 405
I have a simple form on my frontpage build using this tutorial here.
Here is the code block for my ContactForm Component:
import React, { useState } from "react";
import { useRouter } from "next/router";
import styles from…

Kultakämmen
- 83
- 7
2
votes
0 answers
Dynamic Forms in Netlify
I have two components in React that in a sense are both forms. One component is a parent form of some sorts that contains a map function that iterates over a children state item to produce a number of children sub forms. This means that people using…

Joshua Boddy
- 83
- 1
- 9
2
votes
1 answer
Netlify form fetching a GET instead of POST request on submit
I have a basic Netlify form (based on this guide) with name, email and message fields. With the following submit function:
const handleSubmit = event => {
event.preventDefault();
const data = {};
const scopedForm = [...formState];
…

Ferran Buireu
- 28,630
- 6
- 39
- 67
1
vote
1 answer
Getting 404 with netlify form (VueJs 3 + Vite + VueRouter + Netlify)
I have this form in my ContactView.vue page src/views/ContactView.vue :
and I want to redirect to a custom page thanking for the message src/views/SuccessView.vue
1
vote
1 answer
How can I use React/Next.js to insert conditional HTML based on element ID (using Netlify forms)?
Apologies if this has been answered somewhere. I've searched and troubleshot for hours to no avail.
First, I have yet to properly learn React, as it is new to me.
I only want to use it for a contact form, and I have been following the tutorial over…

Twofreid
- 31
- 5
1
vote
0 answers
How do I show a Bootstrap 5 modal as a form success message upon clicking submit? Using Netlify for logging submissions
Without using jquery or PHP, how do I trigger a modal upon a successful form submission? I'm using Bootstrap 5.
My form submissions are being sent to Netlify.
1
vote
0 answers
Capturing form data using Netlify
My Netlify is not capturing data from my web form. It is recording a submission, but all the fields are empty. It is only spitting back the field titles and not the field content. I have a very basic sign up form. Nothing fancy at all. As per…

Tendekai Muchenje
- 440
- 1
- 6
- 20
1
vote
1 answer
Issue with Gatsby Netlify Form not receiving Submissions
I got the Netlify form working and accepting submissions but once I started setting up AJAX according to https://docs.netlify.com/forms/setup/, I can't figure out why submissions aren't being received.
Things I've tried:
Removing Hidden "form-name"…

tjhammer845
- 11
- 2
1
vote
1 answer
How to create an 'onClick' event for form submit button which both POSTS data to Netlify and redirects to Stripe Checkout?
My site code is housed @ https://github.com/CB-Essential-Services/adorable-chestnut/blob/staging-3/src/components/checkout.js
I am running a Netlify -- Gatsby -- StripeCheckout stack.
Issue: I need the submit button in the code below to both submit…

MATTHEW BOYLE
- 11
- 2
0
votes
0 answers
Netlify: New Site Not Deploying Despite Other Sites Functioning Smoothly
The problem arose during the recent deployment process when Netlify encountered difficulties deploying the Firebase functions. The specific error message displayed was: Error: Functions did not deploy properly. This is particularly perplexing since…

Salem Nusair
- 23
- 6
0
votes
0 answers
Netlify forms could not identify form in my JS file
I am unable to get the user response in my netlify server where i have enabled form detection and added data-netlify=true as mentioned in the docs in my form element.
I have tried to implement netlify forms in my project.I have followed the…

Robband
- 1
0
votes
1 answer
Nuxt 3 and Netlify Forms: Does not work or won't get detected during deploy
I am trying to use Netlify forms on my Nuxt 3 app. For some reason it is not being picked up by netlify and thus does not work.
here's my page code:
pages/contact.vue:
0
votes
0 answers
Ask for login before submitting a form or before you see content of page
I have a form in my website for sending a maintenance request.
So before submitting the form, I want a pop-up asking the user to log in or immediately after you land on the page the login should pop up before continuing.
My question is :
How can I…

papa
- 7
- 1
- 1
- 6
0
votes
0 answers
Nuxt 3: How to verify if a component was rendered on the client?
I'm using netlify forms in my nuxt 3 app, but found out it only logs submissions if the component was rendered with ssr: false (nuxt.config.ts).
However I do want to deploy my website with ssr enabled. So I tried wrapping the component with…

Edito
- 3,030
- 13
- 35
- 67