This topic contains 3 replies, has 4 voices, and was last updated by  hassanvideo 1 month, 1 week ago.

using the input field validation with tooltips


  • nadav
    Participant

    Posts: 2
    Member Reply #719

    Hi, I’m trying to apply the form validation (in a modal, maybe it’s relevant) and the tooltip is just not showing:

    this is the code im getting on page, and still no success:

    <code sample attached>

     

     

    • This topic was modified 3 years, 2 months ago by  nadav.
    Attachments:
    You must be logged in to view attached files.
    Sean
    Sean
    Keymaster

    Posts: 4472
    Support Staff Reply #746

    Hi :),

    Sorry, we could not view you code sample here.

    By right you should initialize the form validation code after modal content is loaded. Please refer to ‘assets/admin/pages/scripts/form-validation.js and get the code from¬†handleValidation2 function and execute that code after loading the modal content. To execute any js code on modal load you can use bootstrap modal API:

    $('#myModal').on('shown.bs.modal', function () {
      // execute any js code here
    })

    Thanks.


    freedomapp
    Participant

    Posts: 3
    Member Reply #15403

    FormValidation – The best jQuery validation plugin to validate form fields, Freedom Apk support Bootstrap, Zurb Foundation, Pure, Semantic, UIKit frameworks.

    • This reply was modified 3 months, 3 weeks ago by  freedomapp.

    hassanvideo
    Participant

    Posts: 1
    Member Reply #17495
Tagged: 

You must be logged in to reply to this topic.