Guest User

Untitled

a guest
May 13th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. <div>
  2. <div dojoType="dojo.data.ItemFileReadStore" jsId="countriesStore" url="website/forms/countries.json"></div>
  3. <div id="form" action="." dojoType="dijit.form.Form">
  4. <p>Username: <input
  5. type="text"
  6. dojoAttachPoint="username"
  7. value=""
  8. dojoType="dijit.form.ValidationTextBox"
  9. trim="true"
  10. regExp="^[_a-zA-Z0-9-]+$"
  11. constraints="{'min': 4, 'max': 16}"
  12. required="true"
  13. intermediateChanges="true"/>
  14. </p>
  15. <p>Password: <input
  16. type="password"
  17. dojoAttachPoint="password"
  18. dojoType="dijit.form.ValidationTextBox"
  19. required="true"
  20. intermediateChanges="true"
  21. invalidMessage="Please type a password"
  22. constraints="{'min': 4, 'max': 16}"
  23. regExp="^[_a-zA-Z0-9-]+$"/>
  24. </p>
  25. <p>Confirm: <input
  26. type="password"
  27. dojoAttachPoint="password_retype"
  28. dojoType="dijit.form.ValidationTextBox"
  29. required="true"
  30. constraints="{'other': 'password1'}"
  31. intermediateChanges="true"
  32. regExp="^[_a-zA-Z0-9-]+$"
  33. invalidMessage="This password doesn't match your first password" />
  34. </p>
  35. <p>country:
  36. <input
  37. dojoType="dijit.form.FilteringSelect"
  38. store="countriesStore"
  39. searchAttr="name"
  40. dojoAttachPoint="country"
  41. autocomplete="true"
  42. />
  43. </p>
  44.  
  45. </div>
  46. <div>
Add Comment
Please, Sign In to add comment