Tuesday, December 22, 2009

ExtJS, email validation using regex

ExtJS doesn't support email validation with all real world email addresses using vtype :'email'..... but ExtJS has given us regex config for any textfield..... so idea is to use that regex for email validation on any textfield used for storing email......


Email Validation How to


validate email field using regex for emails which contains ' character as well....
for example :
abc-123.abc'snepal@mavendeveloper.com

Example


xtype: 'textfield',
fieldLabel: 'email',
regex: /^([\w\-\'\-]+)(\.[\w-\'\-]+)*@([\w\-]+\.){1,5}([A-Za-z]){2,4}$/,


cheers

hav fun



ExtJS, email validation using regex

ExtJS, email validation using regex

ExtJS doesn't support email validation with all real world email addresses using vtype :'email'..... but ExtJS has given us regex config for any textfield..... so idea is to use that regex for email validation on any textfield used for storing email......


Email Validation How to


validate email field using regex for emails which contains ' character as well....
for example :
abc-123.abc'snepal@mavendeveloper.com

Example


xtype: 'textfield',
fieldLabel: 'email',
regex: /^([\w\-\'\-]+)(\.[\w-\'\-]+)*@([\w\-]+\.){1,5}([A-Za-z]){2,4}$/,


cheers

hav fun



ExtJS, email validation using regex

extJS [Solution] Grid to Grid Drag and Drop On Particular Grid Node

hello,

I was searching for the Grid to Grid Drag and Drop on particular row of the grid so that i can change the information on drag node on respect of dropped row of another Grid.. i was left helpless ... then i researched and did a long hide and trail and finally got the solution on how to do it..

so i am here to share the solution to all of you ....

my sites



Know More About Me
World Of Acharya

regards
Maven