Opened 13 years ago
Closed 9 years ago
#9891 closed task (invalid)
Email validation textbox explorer example broken
Reported by: | karthik | Owned by: | Shane O'Sullivan |
---|---|---|---|
Priority: | high | Milestone: | future |
Component: | Documentation | Version: | 1.3.2 |
Keywords: | Email validation textbox dojo 1.3.2 | Cc: | |
Blocked By: | Blocking: |
Description
The following example does not work right with dojo 1.3.2
<html> <head> <title>Dojo: Hello World!</title> <!-- SECTION 1 --> <style type="text/css"> @import "dojoroot/dijit/themes/tundra/tundra.css"; @import "dojoroot/dojo/resources/dojo.css" </style> <script type="text/javascript" src="dojoroot/dojo/dojo.js" djConfig="parseOnLoad: true"></script> <!-- SECTION 2 --> <script type="text/javascript"> dojo.require("dijit.form.ValidationTextBox"); dojo.require("dojox.validate.regexp"); dojo.require("dojo.parser"); </script> </head> <body class="tundra"> <input id="q12" type="text" name="email" class="long" value="fred&[email protected]" dojoType="dijit.form.ValidationTextBox" regExpGen="dojo.regexp.emailAddress" trim="true" required="true" invalidMessage="Invalid Email Address." /> </button> </body> </html>
This code was taken from this web page : http://dojocampus.org/explorer/#Dijit_Form_Controls_Text_Boxes_Validation_Email_Address_Single
Change History (5)
comment:1 Changed 13 years ago by
Component: | General → Documentation |
---|---|
Owner: | changed from anonymous to Shane O'Sullivan |
Priority: | high → normal |
Type: | defect → task |
comment:3 Changed 13 years ago by
Summary: | Email validation textbox not working with dojo 1.3.2 → Email validation textbox explorer example broken |
---|
comment:4 Changed 13 years ago by
Milestone: | tbd → future |
---|
comment:5 Changed 9 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
This is no longer valid.
Note: See
TracTickets for help on using
tickets.
the line
needs to be
(note: dojoX not dojo, and also the full name has changed as dojox.validate.regexp was "polluting"to dojox.regexp namespace, and was changed in 1.3)
from: http://www.dojotoolkit.org/book/dojo-1-3-release-notes#dojox
cc'ing shane o'sullivan who maintains the explorer examples. Seems it is using 1.2? The example in the link works fine using the old locations.