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 dojoType="dojo.data.ItemFileReadStore" jsId="statesStore" url="website/forms/states_list.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"
- intermediateChanges="true"
- regExp="^[_a-zA-Z0-9-]+$"
- invalidMessage="This password doesn't match your first password" />
- </p>
- <p>Email: <input
- type="text"
- dojoAttachPoint="email"
- value=""
- dojoType="dijit.form.ValidationTextBox"
- trim="true"
- regExpGen="dojox.regexp.emailAddress"
- required="true"
- intermediateChanges="true"
- invalidMessage="Please type a valid email"/>
- </p>
- <p>Country: <input
- dojoType="dijit.form.FilteringSelect"
- store="countriesStore"
- searchAttr="name"
- dojoAttachPoint="country"
- autocomplete="true"
- />
- </p>
- <p>
- State: <input
- dojoType="dijit.form.FilteringSelect"
- store="statesStore"
- searchAttr="name"
- dojoAttachPoint="state"
- autocomplete="true"
- />
- </p>
- <p>
- Fields of work:
- <div dojoType="website.forms.FilteringTextArea" id="filteringtextarea"></div>
- </p>
- </div>
- <div>
Add Comment
Please, Sign In to add comment