Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div>
- <div dojoType="dojo.data.ItemFileReadStore" jsId="countriesStore" url="website/forms/countries.json"></div>
- <div id="form" action="." dojoType="dijit.form.Form">
- <p>Username: <input
- type="text"
- dojoAttachPoint="username"
- value=""
- dojoType="dijit.form.ValidationTextBox"
- trim="true"
- regExp="^[_a-zA-Z0-9-]+$"
- constraints="{'min': 4, 'max': 16}"
- required="true"
- intermediateChanges="true"/>
- </p>
- <p>Password: <input
- type="password"
- dojoAttachPoint="password"
- dojoType="dijit.form.ValidationTextBox"
- required="true"
- intermediateChanges="true"
- invalidMessage="Please type a password"
- constraints="{'min': 4, 'max': 16}"
- regExp="^[_a-zA-Z0-9-]+$"/>
- </p>
- <p>Confirm: <input
- type="password"
- dojoAttachPoint="password_retype"
- dojoType="dijit.form.ValidationTextBox"
- required="true"
- constraints="{'other': 'password1'}"
- intermediateChanges="true"
- regExp="^[_a-zA-Z0-9-]+$"
- invalidMessage="This password doesn't match your first password" />
- </p>
- <p>country:
- <input
- dojoType="dijit.form.FilteringSelect"
- store="countriesStore"
- searchAttr="name"
- dojoAttachPoint="country"
- autocomplete="true"
- />
- </p>
- </div>
- <div>
Add Comment
Please, Sign In to add comment