Hello @TenSketch, it looks like the name attributes you gave your input fields have spaces in them. You’ll want to make sure that they don’t have spaces. Once you do that, I think things should work.
Hi @TenSketch, you should only have a single form using the name join_Prabhat. In your built site do you have multiple html files with a form named join_Prabhat? Or do you have any single file with multiple forms named join_Prabhat? This is across all branches. If you define a form named join_Prabhat in production and in staging, and your most recent staging deploy has different field values, then it will overwrite the form definition for production until your next production deploy.
the 2nd one I’m not using it and mentioned anywhere else, and I’m also not able to delete the 2nd form from netlify dashboard. And it didn’t bother at all!
@TenSketch you have am index.html in /register-form and another index.html in /register, both of these files have forms named join_Prabhat . Can you rename both of these forms so they have unique names then redeploy so we can see which one of them is causing you trouble?
Our system is still seeing a form definition without any fields. Could you please check ALL of your files, after building locally, for a second .html file with a form called join_Prabhat without any fields mentioned? Pretty sure there’s one in there somewhere!
I see the correct form at that URL (/join-prabhat/register-form), so I think once you find and remove the other one, things will work better.
In the public folder, there is only one .html file with the form join_Prabhat
In the dashboard, I have another form in a different name which I had b4 but now not able to delete, but that’s not the issue because its a different form name
The other form would not related; we index by name.
We won’t remove a form from your dashboard that was previously deployed unless you ask, even if you make one or one hundred later deploys without it, so that remaining is expected but again not related to things not working with the join_Prabhat form.
Your current deploy has NO form with that name - I just downloaded it and looked.
So I think the problem is that you deployed it once awhile ago in an html file, and that is the definition your current javascript submission uses. Please create an explicit, separate, html file with the definition including all fields that might be submitted via your javascript submission.
Right, for hugo, your static html form will need to either exist in your public/ folder or in your static/ folder (which gets included in your public/ folder at build time.
The solution to this issue:
Removed one form from the page (2nd one was the contact form in the footer) and the 1st form (join-Prabhat) worked. As I had already guessed that
Thank you all for your time. Its a bug to be reported to netlify. How to report it? and there has to be delete option for unused forms from the dashboard as it causes confusion.
hi @TenSketch, if you can tell us the name of your form, we can delete it for you. At the moment, it is not possible for you to delete a form through the UI (we are working on this, but don’t have a timeline for implementation)
Hi, I have the same problem with 2 forms and almost broke my head trying to resolve it but as I see now it is still WIP from Netlify’s side.
On the other hand, my main form is not obtaining the data in forms report and just shows blanks even though forms gets submitted and one point I think it even worked too prior to me getting into this whole issue and starting messing with code (even though my footer subscriptions works perfectly and code’s are exactly the same)
Anyone can have a look at why my code wouldn’t obtain the data: