troubleshooting Question

Need help with qTip...

Avatar of WebAppDeveloper
WebAppDeveloperFlag for United States of America asked on
3 Comments1 Solution542 ViewsLast Modified:

I have the code below that shows a qTip when the mouse cursor is focused on the password field (with id="#LoginPassword"). Is there a way to show the tool tip ONLY when the field is blank??? In other words, I don't want to show it when the field has a value.

                  content: 'Password must contain a minimum of 8 characters, at least 1 lowercase character, at least 1 uppercase character, at least 1 number and at least 1 special character',
                  position: {
                        corner: {
                              target: 'topLeft',
                              tooltip: 'bottomLeft'
                  show: { when: { target: false, event: 'focus' } },
                  hide: { when: { target: false, event: 'blur' } },
                  style: {
                        padding: 5,
                        background: '#ffffcc',
                        color: '#000000',
                        textAlign: 'left',
                        border: {
                              width: 1,
                              radius: 1,
                              color: '#6699cc'
                        tip: { corner: 'bottomMiddle' }

Many thanks in advance.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros