-
2 May 2012 12:55 AM #1
Problem with msgTarget : 'under'
Problem with msgTarget : 'under'
Hi folks,
I have a form in which i have two textfield of xtype. I have put up
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 givenCode:default:{ msgTarget : 'under' },
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.Code:default: { msgTarget : 'side' }
Thanks in advance.Samarth Manjunath
-
2 May 2012 7:42 AM #2
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.
-
2 May 2012 7:49 PM #3
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


Reply With Quote
