Byron Cross free asked 5 years ago


Hi. I just purchased the JQuery MDB Pro licence and I would like to add a datepicker to my form. I've read the tutorial but still very confused on how to do this. can someone please assist.

 <div class="row">
                <div class="col">
                  <div class="md-form">
                    <mdb-date-picker id="inputDate" name="inputDate" class="form-control"></mdb-date-picker>
                    <label for="inputDate">Purchase Date</label>
                  </div>
                </div>
              </div>

This is the code i have.


Krzysztof Wilk staff commented 5 years ago

Did you put JavaScript Initialization code below in tags?

Maybe try this basic example from here: https://mdbootstrap.com/docs/jquery/forms/date-picker/ then customize it like you want. JS code you should put before tags end and after all scripts. You have to make new tags and there paste your initialization code. If you have other questions, just ask :)



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.8.0
  • Device: Mac
  • Browser: Chrome
  • OS: macOS Mojave
  • Provided sample code: No
  • Provided link: No