Register with modal and javascript

Asked

Viewed 56 times

0

I have a form and inside it I have several modals with form inside the modal as I do to save what is in the modal without interfering with the form outside because with the modals that have the Forms inside the form with the process/proc_cad_person action does not go to the page

<form role="form" method = "POST" action = "processa/proc_cad_pessoa.php" name="formulario">
                                    <div class="tab-content">
                                        <div class="tab-pane active" role="tabpanel" id="step1">
                                            <div class="step33">
                                                <h5><strong>Indentificação Pessoal</strong></h5>

                                                <hr>

                                                <div class="row mar_ned">

                                                </div>

                                                <div class="row">
                                                    <div class="form-group  col-md-4 col-md-offset-1">
                                                        <label>Nome</label>
                                                        <input type="text" class="form-control" name="nomepessoa" placeholder="Nome da Pessoa"/>
                                                    </div>

                                                    <div class="form-group col-md-3">

                                                        <label style="padding-top: 2em;">Sexo:</label>

                                                        <label class="radio-inline">
                                                            <input type="radio" name="optradio" value="M">Masculino
                                                        </label>

                                                        <label class="radio-inline">
                                                            <input type="radio" name="optradio" value="F">Feminino
                                                        </label><br/>
                                                    </div>
                                                </div> <br/>
× Add Teaching Education: * Register

2 answers

0

Hello, you have to make the difference between the tag clearer <form> html and the class .form-group of boostrap framework, because it was very confusing the question, fortunately I could identify why I already used this framework.

Just like Leonardo Marques said, there’s no html tag closure <form> in this code there, and I add that there is no <button> or tag a type Ubmit, being responsible for triggering the action of sending the data by the POST method to the page processes/proc_cad_pessoa.php

0

I couldn’t find the tag </form> be closed . Be more specific in your question , is a little confused because we do not know your scenario .

Browser other questions tagged

You are not signed in. Login or sign up in order to post.