Guest User

Untitled

a guest
May 14th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.18 KB | None | 0 0
  1. <div>
  2. <div dojoType="dojo.data.ItemFileReadStore" jsId="countriesStore" url="website/forms/countries.json"></div>
  3. <div dojoType="dojo.data.ItemFileReadStore" jsId="statesStore" url="website/forms/states_list.json"></div>
  4. <div id="form" action="." dojoType="dijit.form.Form">
  5. <p>Username: <input
  6. type="text"
  7. dojoAttachPoint="username"
  8. value=""
  9. dojoType="dijit.form.ValidationTextBox"
  10. trim="true"
  11. regExp="^[_a-zA-Z0-9-]+$"
  12. constraints="{'min': 4, 'max': 16}"
  13. required="true"
  14. intermediateChanges="true"/>
  15. </p>
  16. <p>Password: <input
  17. type="password"
  18. dojoAttachPoint="password"
  19. dojoType="dijit.form.ValidationTextBox"
  20. required="true"
  21. intermediateChanges="true"
  22. invalidMessage="Please type a password"
  23. constraints="{'min': 4, 'max': 16}"
  24. regExp="^[_a-zA-Z0-9-]+$"/>
  25. </p>
  26. <p>Confirm: <input
  27. type="password"
  28. dojoAttachPoint="password_retype"
  29. dojoType="dijit.form.ValidationTextBox"
  30. required="true"
  31. intermediateChanges="true"
  32. regExp="^[_a-zA-Z0-9-]+$"
  33. invalidMessage="This password doesn't match your first password" />
  34. </p>
  35. <p>Email: <input
  36. type="text"
  37. dojoAttachPoint="email"
  38. value=""
  39. dojoType="dijit.form.ValidationTextBox"
  40. trim="true"
  41. regExpGen="dojox.regexp.emailAddress"
  42. required="true"
  43. intermediateChanges="true"
  44. invalidMessage="Please type a valid email"/>
  45. </p>
  46. <p>Country: <input
  47. dojoType="dijit.form.FilteringSelect"
  48. store="countriesStore"
  49. searchAttr="name"
  50. dojoAttachPoint="country"
  51. autocomplete="true"
  52. />
  53.  
  54. </p>
  55. <p>
  56. State: <input
  57. dojoType="dijit.form.FilteringSelect"
  58. store="statesStore"
  59. searchAttr="name"
  60. dojoAttachPoint="state"
  61. autocomplete="true"
  62. />
  63. </p>
  64. <p>
  65. Fields of work:
  66. <div dojoType="website.forms.FilteringTextArea" id="filteringtextarea"></div>
  67. </p>
  68.  
  69. </div>
  70. <div>
Add Comment
Please, Sign In to add comment