1. #1
    Sencha User
    Join Date
    Nov 2007
    Location
    France
    Posts
    135
    Vote Rating
    0
    khatuido is on a distinguished road

      0  

    Question How got a normal qtip and a error qtip in same time?

    How got a normal qtip and a error qtip in same time?


    I want got two input the first one i want an information message in blue and the second if there is nothing inside an error qtip (in red).

    My html :
    HTML Code:
    <input ext:qtip="This is a quick tip from markup!">
    <form id="formTest" style="width:900px;">
    	<input id="test1" /><br />
    </form>
    My js
    Code:
    	var simple = new Ext.form.BasicForm();
    	simple.add(new Ext.form.TextField({
    		applyTo:"test1",
    	   	allowBlank: false,
    	   	id:Ext.id()
    	}));
    So when i do it i got my blue qtip and my error qtip. The problem is when i got my error qtip the information qtip become an error qtip (the first in blue become in red and is display in error). I want know how to get just a information in blue if we overflow the first one (when the second is in error) and in same time an error qtip in red if we overflow the second without value.

    Is it possible?

  2. #2
    Sencha User
    Join Date
    Nov 2007
    Location
    France
    Posts
    135
    Vote Rating
    0
    khatuido is on a distinguished road

      0  

    Default


    For understand the problem i do a picture with the 3 step.

    The red cross is the cursor position.



    First step it's ok, blue information
    Second step it's still ok, after the error on the field, i got a red error on it.
    Third step got a problem, the first field don't got error it's just a information message and it looks like error message. why?

  3. #3
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    97
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    Are you using ExtJS 2.0.1? This was a bug and I thought it was fixed in 2.0.1.

  4. #4
    Sencha User
    Join Date
    Nov 2007
    Location
    France
    Posts
    135
    Vote Rating
    0
    khatuido is on a distinguished road

      0  

    Default


    Oh ok thanks.
    I will update my version.
    I didn't see i was not in the last version.
    Last edited by khatuido; 5 Feb 2008 at 6:27 AM. Reason: I try since i update my version and it works well

Thread Participants: 1