Topic: Why is the default form not in form of box?

Albert Tan free asked 6 years ago


There are 2 versions of the forms. The line and box to fill in information. I'd like to create the box one. The code on the documentation doesn't work.

Code page: https://mdbootstrap.com/components/forms/

 

<!-- Default form subscription -->
<form>
    <p class="h4 text-center mb-4">Subscribe</p>

    <!-- Default input name -->
    <label for="defaultFormSubscriptionNameEx" class="grey-text">Your name</label>
    <input type="text" id="defaultFormSubscriptionNameEx" class="form-control">
    
    <br>

    <!-- Default input email -->
    <label for="defaultFormSubscriptionEmailEx" class="grey-text">Your email</label>
    <input type="email" id="defaultFormSubscriptionEmailEx" class="form-control">

    <div class="text-center mt-4">
        <button class="btn btn-outline-purple" type="submit">Send<i class="fa fa-paper-plane-o ml-2"></i></button>
    </div>
</form>
<!-- Default form subscription -->
                      

Damian Gemza staff commented 6 years ago

Dear Albert Tan, Please note, that you're using jQuery code instead of Angular one. You can find Angular codes on site below: https://mdbootstrap.com/angular/components/forms/ Best Regards, Damian


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: Yes
  • Provided link: No
Tags