What a coincidence, I was just thinking about how I would get this done, and then I checked my subscriptions. Thanks a lot, this method so much easier than what I was otherwise going to do.
@ADesignerWhoCodes4 жыл бұрын
You are so welcome! I'm really stoked it helped.
@heatherherries9359 Жыл бұрын
Thank you! Great informative info! Might think about making an add on with form validation. Thank you again!
@ADesignerWhoCodes Жыл бұрын
Ooh. Good idea
@anthonyradin71663 жыл бұрын
Thank you. You've contributed to my education as a react developer. Sincerely, Tony Radin.
@ADesignerWhoCodes3 жыл бұрын
Wow. That's so awesome! Happy to help.
@th0mas.p4ttz3 жыл бұрын
Awesome - just what I was looking for, thank you.
@ADesignerWhoCodes3 жыл бұрын
Stoked! You're welcome.
@guicaalmeida3 жыл бұрын
Great, straightforward video. Thanks!
@ADesignerWhoCodes3 жыл бұрын
Very welcome Guilherme.
@eltonsantos88043 жыл бұрын
Hi Teacher! Its amazing, I've been learning a lot things with you! Congrats you are a good professional. Have a good day.
@hillaryvanotten7122 жыл бұрын
This is great thank you!
@ADesignerWhoCodes2 жыл бұрын
Netlify Forms rock.
@nikoman713263 жыл бұрын
Thanks for the video. You don't mention anything about including static HTML form to index.html. It doesn't work without it. Netlify doesn't recognize the form without these lines. Please correct me if I am wrong
@ADesignerWhoCodes3 жыл бұрын
I'll eventually do a static HTML video. But I was in a React phase. Yes, some things will different between React and Vanilla HTML with React Forms.
@SeeRjED3 жыл бұрын
@@ADesignerWhoCodes From what I found you do need to add a static (hidden) HTML version of the form in index.html (or any html file) for it to work with your React app.
@heatherherries9359 Жыл бұрын
Yep tried it and it doesnt work. Back to the drawing board. Sigh.
@hamitaksln3 жыл бұрын
Great tutorial. Thanks.
@ADesignerWhoCodes3 жыл бұрын
Thank you so much!
@manueljarrin4582 Жыл бұрын
Can you do an ajax form submission example using react?
@tjtechi44484 жыл бұрын
what about I don't want it to go to the Netlify website after submission.? Please can you show that?
@ADesignerWhoCodes4 жыл бұрын
Yep! It’s in the works
@ADesignerWhoCodes4 жыл бұрын
Check it out. kzbin.info/www/bejne/ip67o31opJZjeJI
@mikemoradi10842 жыл бұрын
Good video, but it didn't work initially. I had to add a hidden html form in my index.html file like this. . Without it I would get a 404 error when submitted.
@ADesignerWhoCodes2 жыл бұрын
Oh interesting. I keep the honeypot in by default. But it usually works without. That’s good to know.
@RakeshKumar-zj4hu4 жыл бұрын
Is this react or Next with react? I'm getting a warning of onSubmit is a function and not a string. :(
@ADesignerWhoCodes4 жыл бұрын
It’s React. I’m using Gatsby but it is just a react framework.
@RakeshKumar-zj4hu4 жыл бұрын
and hence you did not see warning?
@ADesignerWhoCodes4 жыл бұрын
Nope. My terminal came back success. I’m sorry you’re struggling.
@KHANSOFFICIAL3 жыл бұрын
Any solutions for this
@prajwalpatankar6003 жыл бұрын
My form isnt visible on netlify, and i get error 404 on submitting, can anyone help me out?
@ADesignerWhoCodes3 жыл бұрын
Hmmm. Double check the URL structure. An error 404 (probably the most famous of all of the error numbers) is page not found. Double check it works on the dev side (I use gatsby so for me it's gatsby develop). If it doesn't work locally, it won't work on Netlify. You're gonna get this Prajawal. It's usually something small. I remember one time I used a dash (-) instead of an underscore (_) and spent an hour trying to figure out why my page wouldn't so up.
@prajwalpatankar6003 жыл бұрын
After struggling for 10hrs, i realised that i had used routing in my App.js, and the component with the form was thus not recognised by netlify. I used react-snapshot and got it corrected. Thanks 🙏🙏
@ADesignerWhoCodes3 жыл бұрын
@@prajwalpatankar600 it’s always the small things I tell ya.