Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

thappy

New Coder
Hello,

I have already a complete form but whem I click SUBMIT nothing happen.
I know this is a basic question but, what is missing ?

This is the form I created:

HTML:
<!--  appointments -->

  <div id="appointments" class="appointment-main-block appointment-two-main-block">

    <div class="container">

      <div class="row">

        <div class="section text-center">

          <h3 class="section-heading text-center">FAÇA UMA MARCAÇÃO OU PEÇA UM ORÇAMENTO</h3>

          <p class="sub-heading text-center">Preencha os campos abaixo para que o passamos ajudar.</p>

        </div>

      

        </div>

        <div class="col-md-8 col-sm-12">

          <div class="appointment-block">

            <form id="appointment-form" class="appointment-form" method="post" action="appointment.php">                           

              <h5 class="form-heading-title"><span class="form-heading-no">1.</span>INFORMAÇÃO DO VEÍCULO</h5>

              <div class="row">

                <div class="col-sm-4">

                  <div class="dropdown">

                    <button class="btn btn-dropdown dropdown-toggle" type="button" id="service-type" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">

                      <span class="drp-name" data-bind="label">Serviço a realizar</span>

                      <span class="caret"></span>

                    </button>

                    <ul class="dropdown-menu" aria-labelledby="service-type">

                      <li><a href="#">Lavagem simples</a></li>

                      <li><a href="#">Deluxe Washing</a></li>

                      <li><a href="#">Ultimate Washing</a></li>

                      <li><a href="#">Super Washing</a></li>

                    </ul>

                  </div>

                </div>

                <div class="col-sm-4">

                  <div class="dropdown">

                    <button class="btn btn-dropdown dropdown-toggle" type="button" id="vehical-make" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">

                      <span class="drp-name" data-bind="label">Marca</span>

                      <span class="caret"></span>

                    </button>

                    <ul class="dropdown-menu" aria-labelledby="vehical-make">

                      <li><a href="#">Honda</a></li>

                      <li><a href="#">Hundai</a></li>

                      <li><a href="#">BMW</a></li>

                    </ul>

                  </div><p></p><input type="text" class="form-control" id="vehical-model" name="vehical-model" placeholder="Modelo" required>

                </div>

                <div class="col-sm-4">

                  <input type="text" class="form-control" id="vehical-model" name="vehical-model" placeholder="Matrícula" required>

                  <p></p><input type="text" class="form-control" id="vehical-model" name="vehical-model" placeholder="Km´s" required>

                </div>

              </div>

              <h5 class="form-heading-title"><span class="form-heading-no">2.</span>Escolha uma data para a realização do serviço</h5>

              <div class="row">

                <div class="col-sm-6">

                  <input type="text" class="form-control date-pick" id="appointment-date" name="appointment-date" placeholder="Data" required>

                </div>

                <div class="col-sm-6">

                  <div class="dropdown">

                    <button class="btn btn-dropdown dropdown-toggle" type="button" id="appointment-time" name="appointment-time" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">

                      <span class="drp-name" data-bind="label">Período para marcação</span>

                      <span class="caret"></span>

                    </button>

                    <ul class="dropdown-menu" aria-labelledby="appointment-time">

                      <li><a href="#">Manhã</a></li>

                      <li><a href="#">Tarde</a></li>

                    </ul>

                  </div>

                </div>

              </div>

              <h5 class="form-heading-title"><span class="form-heading-no">3.</span>Os seus detalhes</h5>

              <div class="row">

                <div class="col-sm-4">

                  <input type="text" class="form-control" id="name" name="name" placeholder="1º e último nome" required>

                </div>

                <div class="col-sm-4">

                  <input type="email" class="form-control" id="email" name="email" placeholder="E-mail" required>

                </div>

                <div class="col-sm-4">

                  <input type="text" class="form-control" id="phone" name="phone" placeholder="Número telemóvel" required>

                </div>

                <div class="col-sm-12">

                  <textarea id="message" name="message" rows="6" placeholder="Messagem"></textarea>

                </div>

              </div>

              <button type="submit" class="btn btn-default pull-right">Book Now</button>

            </form>

          </div>

        </div>

      </div>

    </div>

  </div>

<!--  end appointments -->


Thanks!!!
 
Last edited by a moderator:

Buy us a coffee!

Back
Top Bottom