I need to validate the required fields in case those are blank by having the * symbol in the label for all the required fields uniformly.how can we put a * symbol for all required fields and then validate them in ExtJs 4.
I think what you are asking is going against the grain of Ext JS. if I'm understanding you correctly. I have built (Struts-based) Web applications whose form field validations keyed off the presence of an asterisk before the field label. But in Ext JS, this should be done using configuration (allowBlank: false) on the form. You should still be able to put an asterisk before the field label (fieldLabel: '* First Name') and, if desired, can apply a distinct style to the label to make it stand out using labelStyle.