Bug Tracker

Opened 15 years ago

Closed 15 years ago

#2293 closed enhancement (worksforme)


Reported by: Hum4ngus Owned by:
Priority: minor Milestone: 1.2.3
Component: plugin Version: 1.2.2
Keywords: [validate] Cc:
Blocked by: Blocking:


I've made a new email validation. This because the standard one only has to contain a @, this one accepts the format "[email protected]…".

jQuery.validator.addMethod("email2", function(value) {
			return /^[a-zA-Z0-9._%-][email protected][a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/.test( value ); 
		}, String.format("Please enter a valid email adres."));

Change History (1)

comment:1 Changed 15 years ago by scott.gonzal

Resolution: worksforme
Status: newclosed

The current email validation does not mark "@" as valid.

Note: See TracTickets for help on using tickets.