Netlify doesn't see the hidden input when submitting the form

I have a simple form with normal fields but one of then it’s type hidden and when submitting the form the hidden input does not appear in netfliy. I don’t know why, someone can help me?
Besides the input hidden value it’s empty, when someone choose a plan in another page, I redirect to this form page filling in the value with the plan choosen.

<form
                    class="botvendas"
                    method="POST" action="/products/botvendas/success.html"
                    name="botvendas-register" data-netlify
                >
                    <div class="row justify-content-center mb-3">
                        <div class="col-lg-9 col-xl-7">
                            <div class="form-floating">
                                <input type="text" name="name" class="form-control" placeholder="Nome" required>
                                <label>
                                    Nome
                                    <span class="text-dark-blue">*</span>
                                </label>
                            </div>
                        </div>
                    </div>
                    <div class="row justify-content-center mb-3">
                        <div class="col-lg-9 col-xl-7">
                            <div class="form-floating">
                                <input type="text" name="phone" class="form-control" mask-phone placeholder="Telefone" required>
                                <label>
                                    Telefone
                                    <span class="text-dark-blue">*</span>
                                </label>
                            </div>
                        </div>
                    </div>
                    <div class="row justify-content-center mb-3">
                        <div class="col-lg-9 col-xl-7">
                            <div class="form-floating">
                                <input type="email" name="email" class="form-control" placeholder="Email" required>
                                <label>
                                    Email
                                    <span class="text-dark-blue">*</span>
                                </label>
                            </div>
                        </div>
                    </div>

                    <input type="hidden" name="plan" value="none" class="form-control">

                    <div class="row justify-content-center mt-4">
                        <div class="col-8 col-md-6 col-xl-4">
                            <button class="btn w-100 btn-btv-dark">
                                Enviar
                            </button>
                        </div>
                    </div>
                </form>

page when happens the redirect : Botvendas
form page: Botvendas | Crie sua conta

Greetings @MJ-Jess! :wave:t2:

And welcome to The Forums :slight_smile:

Upon loading your public-facing page and inspecting the markup, I found that your hidden input actually has no value. Netlify Forms probably won’t register the field as coming in if it has no value at all.


Jon

Thank’s for the answer @jonsully , I’ve set the value to default just for test, but doesn’t work :frowning:
Deploy log:

10:29:01 AM: Processing form - botvendas-register
10:29:01 AM: Detected form fields:
10:29:01 AM:  - name
10:29:02 AM:  - phone
10:29:02 AM:  - email

Sorry for the english :grimacing:

Hi there, @MJ-Jess :wave: ,

Thanks for reaching out! Would you be able to post your most recent HTML form code one more time please so that we can take a look.

-Hillary

Hey @MJ-Jess! Can you re-deploy your site with a different form-name? Sometimes changing the name resets the form system and catches new fields. Worth a shot!

Agreed with @hillary here though — if you could post your most recent HTML and elaborate on which SSG you’re using, that too would be helpful :+1:t2:


Jon

1 Like

Thanks @jonsully @hillary ,
It worked changing form-name :grin:

2 Likes