Form creation

0

My problem is this: I have a class for example client it via own name, surname and cpf and a list of objects of class address. The address class is only going to have the street and city field. My question is the following how do I create a form to fill in the customer data and go to another screen to enter the addresses and then send with only 1 submit all this data? do you need to do aser with thymeleaf or need javascript?

    
asked by anonymous 03.03.2018 / 06:52

1 answer

0

You can use a tab inside a form. See example below with bootstrap

       <div class="tab-content">

            <div class="tab-pane active" id="tabela1">

                <div class="row">
                    <div class="form-group  col-lg-12">
                    </div>
                </div>

            </div>

            <div class="tab-pane" id="tabela2">
                <div class="row">

                </div>

                <div class="row">

                </div>  
            </div>
        </div>
    
07.03.2018 / 20:32