Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8420879
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T02:58:53+00:00 2026-06-10T02:58:53+00:00

I’m using several plugins: jQuery Validate and qTp2. The problem in that tooltip not

  • 0

I’m using several plugins: jQuery Validate and qTp2. The problem in that tooltip not shows, there are no errors and I can’t understand why.
Code or DEMO:

<div style="float: left; width: 470px;" id="register_cont">
        <form method="POST" action="/Account/Register" class="fancy_form" id="reg_form_pay">
        <div style="margin-bottom: 10px;" class="wrap_input">
            <p class="inp_label">First name:</p>
            <i>&nbsp;</i>
            <input type="text" style="width: 157px;" name="FirstName" value="" data-description="Enter first name" id="pay_firstname">
        </div>
        <div style="margin-bottom: 10px;" class="wrap_input">
            <p class="inp_label">Surname:</p>
            <i>&nbsp;</i>
            <input type="text" style="width: 140px;" name="Surname" value=""  data-description="Enter last name"  id="pay_lastname">
        </div>
        <div style="margin-bottom: 10px; margin-top: 34px;" class="wrap_input">
            <p class="inp_label">E-mail:</p>
            <i>&nbsp;</i>
            <input type="text" style="width: 157px;" name="Email" value=""  data-description="Enter email"  id="pay_email">
        </div>
        <div style="margin-top: 34px;" class="wrap_input">
            <p class="inp_label">Phone:</p>
            <i>&nbsp;</i>
            <input type="text" style="width: 157px;" name="PhoneNumber" value=""  data-description="Enter phone number"  id="pay_phone">
        </div>
        </form>
    </div>

<button style="margin-top: 27px;" type="button" class="wiz_button wizard_prev_step long"><span><span>Check</span></span></button>

$("#reg_form_pay").validate({
            rules: {
                Email: { required: true, email: true },
                PhoneNumber: { required: true, checkPhoneNumber: true },
                FirstName: { required: true },
                Surname: { required: true }
            },
            errorElement: "",
            showErrors: function (errorMap, errorList) {
                $('.wrap_input').removeClass('error');
                $('#reg_form_pay input').width(157);
                $.each(errorList, function (i, e) {
                    $(e.element).closest('.wrap_input').addClass('error');
                    var newWidth = $(e.element).width() - 17;
                    $(e.element).width(newWidth);
                });
                 updateQTip(); //call every time when error exist
            },
            onkeyup: false
        });

  function updateQTip() {        
            $('.wrap_input.error input').qtip({
                text: function (api) {
                    return $(this).attr('data-description');
                },
                position: {
                    target: 'mouse',
                    adjust: { x: 5, y: 17 }
                },
                style: {
                    tip: { corner: false }
                }
            });
    } 


$.validator.addMethod("checkPhoneNumber", function (value, element) {

        if (!value) return true;
        return /^((\+7)|8)(700|701|702|705|707|712|713|717|718,721|725|726|727|777)[0-9]{7}$/.test(value);
    }, "Wrong Phone");


$('button ').click(function () {
            if (!$('#reg_form_pay').valid())
                return;

    alert('valid');
})
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T02:58:54+00:00Added an answer on June 10, 2026 at 2:58 am

    looks like text should be changed to content in the tooltip params. Check out this fiddle

    function updateQTip() {        
                $('.wrap_input.error input').qtip({
                    content: function (api) {
                        return $(this).attr('data-description');
                    },
                    position: {
                        target: 'mouse',
                        adjust: { x: 5, y: 17 }
                    },
                    style: {
                        tip: { corner: false }
                    }
                });
        } 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to using the Perl treebuilder module for HTML parsing and can't figure
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a jquery bug and I've been looking for hours now, I can't
I am reading a book about Javascript and jQuery and using one of the
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I know there's a lot of other questions out there that deal with this
I need a function that will clean a strings' special characters. I do NOT
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.