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:


The following example does not work right with dojo 1.3.2

    <title>Dojo: Hello World!</title>

    <!-- SECTION 1 -->
    <style type="text/css">
        @import "dojoroot/dijit/themes/tundra/tundra.css";
        @import "dojoroot/dojo/resources/dojo.css"
    <script type="text/javascript" src="dojoroot/dojo/dojo.js"
      djConfig="parseOnLoad: true"></script>
	  <!-- SECTION 2 -->
    <script type="text/javascript">

  <body class="tundra">
  <input id="q12" type="text" name="email" class="long" value="fred&[email protected]"
    invalidMessage="Invalid Email Address." />

This code was taken from this web page :

Change History (5)

comment:1 Changed 13 years ago by dante

Component: GeneralDocumentation
Owner: changed from anonymous to Shane O'Sullivan
Priority: highnormal
Type: defecttask

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)


dojox.regexp missing

    * the dojox.regexp functions and regexp's provided by dojox/validate/regexp.js are no longer cross-polluting namespaces. dojox/validate/regexp.js defined dojox.validate.regexp. dojox.regexp = dojox.validate.regexp is a quick shim to make any code using dojox.regexp functions use the new namespace. 

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.

comment:2 Changed 13 years ago by karthik

Thanks for the response. I will try to spot new issues.

comment:3 Changed 13 years ago by bill

Summary: Email validation textbox not working with dojo 1.3.2Email validation textbox explorer example broken

comment:4 Changed 13 years ago by dante

Milestone: tbdfuture

comment:5 Changed 9 years ago by Kitson Kelly

Resolution: invalid
Status: newclosed

This is no longer valid.

Note: See TracTickets for help on using tickets.