1. #1
    Sencha User
    Join Date
    Sep 2011
    Location
    Bangalore
    Posts
    171
    Vote Rating
    0
    samarth is on a distinguished road

      0  

    Default Problem with msgTarget : 'under'

    Hi folks,
    I have a form in which i have two textfield of xtype. I have put up
    Code:
    default:{
            msgTarget : 'under'
    },
    This condition is given when two textfields are not to be blank. But in the below of that i have one check box also. when that textfields become blank Under the textfield error message will be displayed. And also those buttons will move little bit down. My problem is when that error message came those buttons should not change there position. How to fix the position of the button? And also if i given

    Code:
    default: {
          msgTarget : 'side'
    }
    This only that red color error will come but it is not display its default error message that "This field is required" like this. Please help me in this issue.

    Thanks in advance.
    Samarth Manjunath

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,320
    Vote Rating
    486
    scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute

      0  

    Default

    This is standard behavior .. to move items down to display the message.

    When the message is displayed to the side, the message is presented when hovering the icon.
    This is also default behavior.

    Regards,
    Scott.

  3. #3
    Sencha User
    Join Date
    Sep 2011
    Location
    Bangalore
    Posts
    171
    Vote Rating
    0
    samarth is on a distinguished road

      0  

    Default

    Quote Originally Posted by scottmartin View Post
    This is standard behavior .. to move items down to display the message.

    When the message is displayed to the side, the message is presented when hovering the icon.
    This is also default behavior.

    Regards,
    Scott.
    Hi Scott,
    Then if we need not to move textbox means better prefer is msgTarget:'side' know. Need to insert Ext.QuickTips.init() this is mandatory otherwise only red under line with exclamatory will come this field required won't come in UI design Thanks for your quick response.
    Samarth Manjunath

  4. #4
    Sencha User
    Join Date
    Mar 2015
    Posts
    1
    Vote Rating
    0
    VIPIU002 is on a distinguished road

      0  

    Default Want to add custom warning message under segmented buttons

    Hi,

    Someone please help me as i want to show warning message under the segmented button

    like if i click on segmented button 1 then it shows: this product is not avialable for you.

    and if i select another button 2 then it should let me in for go ahead and do stuffs in app.

    Please help --Vipin Tomer