This topic contains 4 replies, has 5 voices, and was last updated by  RohanPatel78945 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, 8 months ago by  nadav.
    Attachments:
    You must be logged in to view attached files.
    Sean
    Sean
    Keymaster

    Posts: 4527
    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 9 months, 2 weeks ago by  freedomapp.

    hassanvideo
    Participant

    Posts: 1
    Member Reply #17495

    RohanPatel78945
    Participant

    Posts: 1
    Member Reply #19746

    Most informative thread!

    Thanks!

Tagged: 

You must be logged in to reply to this topic.