Hi I am new to Netlify
I am building a personal portfolio page in Gatsby.
I have made a form that is submitted with JS. I had some problems getting it up and running initially, but now it seems to work. I have a static HTML file included in my project for Netlify to recognize the form (the form is inside a modal in my page and isn’t included in HTML file otherwise in my build).
However. I got one formfield that always returns empty. I have included a hidden field to store the language the form was submitted in (I need to be able to set up an auto reply in the correct language later on). I use a javascript function to fill out the formfield, and it is filled out correctly. However, it always returns empty.
My project is located at https://larsejaas.netlify.app/ - the contactform is found when you click on the “envelope icon” in the footer.
The form is named “skrivTilMig”.
Initially I had the formfield that returns empty registered with “type” = “hidden”, but have changed this to “text” and now just hide the field with CSS - but it still returns empty? I have changed the HTML form field to text also.