RegisterView.mxml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <mx:VBox
  3. xmlns:mx="http://www.adobe.com/2006/mxml"
  4. xmlns:helpers="com.imt.intimamedia.helpers.*"
  5. xmlns:components="com.hillelcoren.components.*"
  6. horizontalAlign="center" verticalAlign="top"
  7. verticalScrollPolicy="auto" horizontalScrollPolicy="off"
  8. creationComplete="initListeners()"
  9. paddingTop="10" paddingLeft="50" paddingRight="10">
  10. <mx:Script source="../../../scripts/general/register/registerView.as" />
  11. <mx:EmailValidator id="mailValidator" source="{mailTextInput}" property="text" trigger="{mailTextInput}" triggerEvent="focusOut" requiredFieldError="{resourceManager.getString('labels', 'required')}" />
  12. <mx:StringValidator id="passwordValidator" source="{passwordTextInput}" maxLength="60" property="text" trigger="{passwordTextInput}" triggerEvent="focusOut" requiredFieldError="{resourceManager.getString('labels', 'required')}" />
  13. <helpers:PasswordValidator id="confirmPasswordValidator" maxLength="60" originalPassword="{passwordTextInput.text}" source="{confirmPasswordTextInput}" property="text" trigger="{confirmPasswordTextInput}" triggerEvent="focusOut" message="{resourceManager.getString('labels', 'passwordsDifferent')}" requiredFieldError="{resourceManager.getString('labels', 'required')}" />
  14. <mx:StringValidator id="answerOneValidator" source="{answerOneTextInput}" maxLength="99" property="text" trigger="{answerOneTextInput}" triggerEvent="focusOut" requiredFieldError="{resourceManager.getString('labels', 'required')}" />
  15. <mx:StringValidator id="answerTwoValidator" source="{answerTwoTextInput}" maxLength="99" property="text" trigger="{answerTwoTextInput}" triggerEvent="focusOut" requiredFieldError="{resourceManager.getString('labels', 'required')}" />
  16. <mx:StringValidator id="hospitalValidator" source="{hospitalTextInput}" maxLength="49" property="text" trigger="{hospitalTextInput}" triggerEvent="focusOut" requiredFieldError="{resourceManager.getString('labels', 'required')}" />
  17. <mx:StringValidator id="invoiceAddressValidator" maxLength="99" source="{invoiceAddressTextInput}" property="text" trigger="{invoiceAddressTextInput}" triggerEvent="focusOut" requiredFieldError="{resourceManager.getString('labels', 'required')}" />
  18. <mx:StringValidator id="shippingAddressValidator" maxLength="99" source="{shippingAddressTextInput}" property="text" trigger="{shippingAddressTextInput}" triggerEvent="focusOut" requiredFieldError="{resourceManager.getString('labels', 'required')}" />
  19. <mx:StringValidator id="cityValidator" source="{cityTextInput}" maxLength="29" property="text" trigger="{cityTextInput}" triggerEvent="focusOut" requiredFieldError="{resourceManager.getString('labels', 'required')}" />
  20. <mx:StringValidator id="zipCodeValidator" source="{zipCodeTextInput}" maxLength="9" property="text" trigger="{zipCodeTextInput}" triggerEvent="focusOut" requiredFieldError="{resourceManager.getString('labels', 'required')}" />
  21. <mx:NumberValidator id="questionOneValidator" source="{questionOneComboBox}" property="selectedIndex" minValue="0" lowerThanMinError="{resourceManager.getString('labels', 'required')}" trigger="{questionOneComboBox}" triggerEvent="close" />
  22. <mx:NumberValidator id="questionTwoValidator" source="{questionTwoComboBox}" property="selectedIndex" minValue="0" lowerThanMinError="{resourceManager.getString('labels', 'required')}" trigger="{questionTwoComboBox}" triggerEvent="close" />
  23. <mx:NumberValidator id="countryValidator" source="{countryComboBox}" property="selectedIndex" minValue="0" lowerThanMinError="{resourceManager.getString('labels', 'required')}" trigger="{countryComboBox}" triggerEvent="close" />
  24. <mx:StringValidator id="phoneCenterValidator" source="{phoneCenterTextInput}" maxLength="14" property="text" trigger="{phoneCenterTextInput}" triggerEvent="focusOut" requiredFieldError="{resourceManager.getString('labels', 'required')}" />
  25. <mx:StringValidator id="lastNameValidator" source="{lastNameTextInput}" maxLength="49" property="text" trigger="{lastNameTextInput}" triggerEvent="focusOut" requiredFieldError="{resourceManager.getString('labels', 'required')}" />
  26. <mx:StringValidator id="firstNameValidator" source="{firstNameTextInput}" maxLength="49" property="text" trigger="{firstNameTextInput}" triggerEvent="focusOut" requiredFieldError="{resourceManager.getString('labels', 'required')}" />
  27. <mx:StringValidator id="phoneValidator" source="{phoneTextInput}" maxLength="14" property="text" trigger="{phoneTextInput}" triggerEvent="focusOut" requiredFieldError="{resourceManager.getString('labels', 'required')}" />
  28. <mx:NumberValidator id="activityValidator" source="{activityComboBox}" property="selectedIndex" minValue="0" lowerThanMinError="{resourceManager.getString('labels', 'required')}" trigger="{activityComboBox}" triggerEvent="close" requiredFieldError="{resourceManager.getString('labels', 'required')}" />
  29. <mx:StringValidator id="otherActivityValidator" source="{otherActivityTextInput}" property="text" trigger="{otherActivityTextInput}" triggerEvent="focusOut" requiredFieldError="{resourceManager.getString('labels', 'required')}" />
  30. <mx:StringValidator id="brandValidator" source="{brandTextInput}" maxLength="99" property="text" trigger="{brandTextInput}" triggerEvent="focusOut" requiredFieldError="{resourceManager.getString('labels', 'required')}" />
  31. <mx:NumberValidator id="frequencyValidator" source="{frequencyNumericStepper}" property="value" trigger="{frequencyNumericStepper}" triggerEvent="focusOut" requiredFieldError="{resourceManager.getString('labels', 'required')}" />
  32. <mx:StringValidator id="licenceAgreeValidator" source="{licenceAgreeCheckBox}" required="true" property="selected" requiredFieldError="{resourceManager.getString('labels', 'checkLicence')}" tooLongError="{resourceManager.getString('labels', 'checkLicence')}" />
  33. <mx:StringValidator id="physicianAgreeValidator" source="{physicianAgreeCheckBox}" required="true" property="selected" requiredFieldError="{resourceManager.getString('labels', 'checkAgreePhysician')}" tooLongError="{resourceManager.getString('labels', 'checkAgreePhysician')}" />
  34. <mx:HBox width="100%" horizontalScrollPolicy="off" verticalScrollPolicy="off">
  35. <mx:VBox width="30" height="100%" styleName="containerZone" click="actionOnZones(event, 'ZoneOne')">
  36. <mx:LinkButton id="partOne" visible="{_partOneValid}" styleName="statusIcon" click="actionOnZonesFromErrors(event, 'ZoneOne')" />
  37. </mx:VBox>
  38. <helpers:WindowShade id="ids" label="{resourceManager.getString('labels', 'titleLogin')}" width="100%" opened="true" styleName="titlePanelDynamic" click="actionOnZones(event, 'ZoneOne')">
  39. <mx:Canvas styleName="containerRedCompact" height="130" width="100%">
  40. <mx:HBox styleName="containerRedContent" height="120" width="100%" horizontalScrollPolicy="off" verticalScrollPolicy="off">
  41. <mx:VBox width="100%" height="100%" horizontalScrollPolicy="off" verticalScrollPolicy="off">
  42. <mx:Spacer height="3" />
  43. <mx:FormItem id="mailLabel" required="true" label="{resourceManager.getString('labels', 'email')}" labelWidth="200" width="100%">
  44. <helpers:TextInputWithSkin id="mailTextInput" maxChars="49" tabIndex="1" restrict="A-Z a-z\\0-9\\@\\.\\_\-\\" width="100%" styleName="textInput" />
  45. </mx:FormItem>
  46. <mx:FormItem id ="passwordLabel" required="true" label="{resourceManager.getString('labels', 'password')}" labelWidth="200" width="100%">
  47. <helpers:TextInputWithSkin id="passwordTextInput" tabIndex="2" maxChars="60" displayAsPassword="true" restrict="A-Z a-z\\0-9\\@\\.\\_\-\\" width="100%" change="confirmPasswordTextInput.text = ''" styleName="textInput" />
  48. </mx:FormItem>
  49. <mx:FormItem id="confirmPasswordLabel" label="{resourceManager.getString('labels', 'confirmPassword')}" required="true" labelWidth="200" width="100%">
  50. <helpers:TextInputWithSkin id="confirmPasswordTextInput" tabIndex="3" maxChars="60" displayAsPassword="true" restrict="A-Z a-z\\0-9\\@\\.\\_\-\\" width="100%" styleName="textInput" />
  51. </mx:FormItem>
  52. </mx:VBox>
  53. <mx:Spacer width="10"/>
  54. <mx:VBox width="100%" height="100%" horizontalScrollPolicy="off" verticalScrollPolicy="off">
  55. <mx:Spacer height="100%" />
  56. <mx:FormItem id="questionOneLabel" required="true" label="{resourceManager.getString('labels', 'questionOne')}" labelWidth="110" width="100%">
  57. <mx:ComboBox id="questionOneComboBox" tabIndex="4" prompt="{resourceManager.getString('labels', 'choose.question')}" selectedIndex="-1" dataProvider="{_model.questionOneArrayCollection}" change="changeQuestion(event, questionTwoComboBox)" width="100%" />
  58. </mx:FormItem>
  59. <mx:FormItem id="answerOneLabel" label="{resourceManager.getString('labels', 'answerOne')}" required="true" labelWidth="110" width="100%">
  60. <helpers:TextInputWithSkin id="answerOneTextInput" maxChars="99" tabIndex="5" restrict="A-Z a-z\\0-9\\@\\.\\_\-\\" width="100%" styleName="textInput" />
  61. </mx:FormItem>
  62. <mx:FormItem id="questionTwoLabel" required="true" label="{resourceManager.getString('labels', 'questionTwo')}" labelWidth="110" width="100%">
  63. <mx:ComboBox id="questionTwoComboBox" tabIndex="6" prompt="{resourceManager.getString('labels', 'choose.question')}" selectedIndex="-1" dataProvider="{_model.questionTwoArrayCollection}" change="changeQuestion(event, questionOneComboBox)" width="100%" />
  64. </mx:FormItem>
  65. <mx:FormItem id="answerTwoLabel" label="{resourceManager.getString('labels', 'answerTwo')}" required="true" labelWidth="110" width="100%">
  66. <helpers:TextInputWithSkin id="answerTwoTextInput" maxChars="99" tabIndex="7" restrict="A-Z a-z\\0-9\\@\\.\\_\-\\" width="100%" styleName="textInput" />
  67. </mx:FormItem>
  68. </mx:VBox>
  69. </mx:HBox>
  70. </mx:Canvas>
  71. </helpers:WindowShade>
  72. </mx:HBox>
  73. <mx:HBox width="100%" horizontalScrollPolicy="off" verticalScrollPolicy="off" paddingBottom="0">
  74. <mx:VBox width="30" height="100%" styleName="containerZone" click="actionOnZones(event, 'ZoneTwo')">
  75. <mx:LinkButton id="partTwo" visible="{_partTwoValid}" styleName="statusIcon" click="actionOnZonesFromErrors(event, 'ZoneTwo')" />
  76. </mx:VBox>
  77. <mx:HBox width="100%" horizontalScrollPolicy="off" verticalScrollPolicy="off">
  78. <helpers:WindowShade id="organization" label="{resourceManager.getString('labels', 'titleOrganization')}" width="100%" opened="true" styleName="titlePanelDynamic" click="actionOnZones(event, 'ZoneTwo')">
  79. <mx:Canvas styleName="containerRedCompact" height="355" width="100%" horizontalScrollPolicy="off" verticalScrollPolicy="off">
  80. <mx:VBox height="340" width="100%" verticalScrollPolicy="off" horizontalScrollPolicy="off" styleName="containerRedContentSync">
  81. <mx:FormItem id="hospitalLabel" required="true" label="{resourceManager.getString('labels', 'hospitalName')}" width="100%" labelWidth="90">
  82. <helpers:TextInputWithSkin id="hospitalTextInput" maxChars="49" tabIndex="8" width="100%" styleName="textInput" />
  83. </mx:FormItem>
  84. <mx:FormItem id="countryLabel" required="true" label="{resourceManager.getString('labels', 'country')}" width="100%" labelWidth="90" >
  85. <mx:ComboBox id="countryComboBox" tabIndex="9" prompt="{resourceManager.getString('labels', 'chooseCountry')}" selectedIndex="-1" change="copyCountry()" dataProvider="{_model.countries}" width="100%" />
  86. </mx:FormItem>
  87. <mx:FormItem id="zipCodeLabel" required="true" label="{resourceManager.getString('labels', 'zipCode')}" width="100%" labelWidth="90">
  88. <mx:HBox width="100%" verticalAlign="middle">
  89. <helpers:TextInputWithSkin id="zipCodeTextInput" tabIndex="10" maxChars="9" width="100%" styleName="textInput" />
  90. <!--mx:LinkButton icon="@Embed('images/general/search.png')" width="16" click="searchCityWithZipCode()" toolTip="{resourceManager.getString('labels', 'search.country')}" /-->
  91. </mx:HBox>
  92. </mx:FormItem>
  93. <mx:FormItem id="cityLabel" required="true" label="{resourceManager.getString('labels', 'city')}" width="100%" labelWidth="90">
  94. <mx:HBox width="100%" verticalAlign="middle">
  95. <helpers:TextInputWithSkin id="cityTextInput" tabIndex="11" width="100%" maxChars="29" styleName="textInput" />
  96. <!--mx:LinkButton icon="@Embed('images/general/search.png')" width="16" click="searchZipCodeWithCity()" toolTip="{resourceManager.getString('labels', 'search.zipcode')}" /-->
  97. </mx:HBox>
  98. </mx:FormItem>
  99. <mx:FormItem id="invoiceAddressLabel" required="true" label="{resourceManager.getString('labels', 'addressInvoicing')}" width="100%" labelWidth="90">
  100. <helpers:TextAreaWithSkin id="invoiceAddressTextInput" tabIndex="12" maxChars="99" width="100%" height="60" styleName="textInput" focusOut="copyAddress(invoiceAddressTextInput.text)" />
  101. </mx:FormItem>
  102. <mx:HBox width="100%" verticalAlign="middle">
  103. <mx:Spacer width="100%" />
  104. <mx:CheckBox id="different" labelPlacement="left" label="{resourceManager.getString('labels', 'addressDifferent')}" styleName="checkBoxForm" width="100%" toolTip="{resourceManager.getString('labels', 'dazzle.delivery')}" click="displayShippingAddress(different.selected)" />
  105. </mx:HBox>
  106. <mx:FormItem id="shippingAddressLabel" required="true" label="{resourceManager.getString('labels', 'addressShipping')}" includeInLayout="false" visible="false" width="100%" labelWidth="90" moveEffect="Move" hideEffect="Fade" showEffect="Fade" toolTip="{resourceManager.getString('labels', 'dazzle.delivery')}">
  107. <helpers:TextAreaWithSkin id="shippingAddressTextInput" tabIndex="13" maxChars="99" width="100%" height="60" styleName="textInput" toolTip="{resourceManager.getString('labels', 'dazzleDelivery')}" />
  108. </mx:FormItem>
  109. <mx:FormItem id="phoneCenterLabel" required="true" label="{resourceManager.getString('labels', 'phone')}" width="100%" labelWidth="90" moveEffect="Move">
  110. <helpers:TextInputWithSkin id="phoneCenterTextInput" tabIndex="14" maxChars="14" width="100%" styleName="textInput" />
  111. </mx:FormItem>
  112. <mx:FormItem label="{resourceManager.getString('labels', 'fax')}" width="100%" labelWidth="90" moveEffect="Move">
  113. <mx:TextInput id="faxCenterTextInput" tabIndex="15" maxChars="14" width="100%" />
  114. </mx:FormItem>
  115. </mx:VBox>
  116. </mx:Canvas>
  117. </helpers:WindowShade>
  118. <helpers:WindowShade id="user" label="{resourceManager.getString('labels', 'titleUser')}" width="100%" opened="true" styleName="titlePanelDynamic" click="actionOnZones(event, 'ZoneTwo')">
  119. <mx:Canvas styleName="containerRedCompact" height="355" width="100%" horizontalScrollPolicy="off" verticalScrollPolicy="off">
  120. <mx:VBox height="340" width="100%" styleName="containerRedContentSync">
  121. <mx:FormItem id="lastNameLabel" required="true" label="{resourceManager.getString('labels', 'lastName')}:" width="100%" labelWidth="80">
  122. <helpers:TextInputWithSkin id="lastNameTextInput" maxChars="49" tabIndex="16" width="100%" styleName="textInput" />
  123. </mx:FormItem>
  124. <mx:FormItem id="firstNameLabel" required="true" label="{resourceManager.getString('labels', 'firstName')}" width="100%" labelWidth="80">
  125. <helpers:TextInputWithSkin id="firstNameTextInput" maxChars="49" tabIndex="17" width="100%" styleName="textInput" />
  126. </mx:FormItem>
  127. <mx:FormItem id="phoneLabel" required="true" label="{resourceManager.getString('labels', 'phone')}" width="100%" labelWidth="80">
  128. <helpers:TextInputWithSkin id="phoneTextInput" tabIndex="18" maxChars="14" width="100%" styleName="textInput" />
  129. </mx:FormItem>
  130. <mx:FormItem label="{resourceManager.getString('labels', 'fax')}" width="100%" labelWidth="80">
  131. <mx:TextInput id="faxTextInput" tabIndex="19" maxChars="14" width="100%" />
  132. </mx:FormItem>
  133. <mx:FormItem id="activityLabel" required="true" label="{resourceManager.getString('labels', 'activity')}" width="100%" labelWidth="80">
  134. <mx:ComboBox id="activityComboBox" tabIndex="20" dataProvider="{_model.specialities}" prompt="{resourceManager.getString('labels', 'chooseActivity')}" selectedIndex="-1" width="100%" change="onChangeActivity(event)" />
  135. </mx:FormItem>
  136. <mx:FormItem id="otherActivityLabel" required="true" label="{resourceManager.getString('labels', 'activity.other')}" width="100%" labelWidth="80" visible="{_otherActivityActive}" includeInLayout="{_otherActivityActive}" hideEffect="Fade" showEffect="Fade">
  137. <helpers:TextInputWithSkin id="otherActivityTextInput" tabIndex="21" width="100%" styleName="textInput" />
  138. </mx:FormItem>
  139. <mx:HBox width="100%" verticalAlign="middle" visible="false" includeInLayout="false">
  140. <mx:Spacer width="100%" />
  141. <mx:CheckBox id="buyer" labelPlacement="left" label="{resourceManager.getString('labels', 'buyer')}" styleName="checkBoxForm" width="100%" click="displayShippingAddress(different.selected)" />
  142. </mx:HBox>
  143. </mx:VBox>
  144. </mx:Canvas>
  145. </helpers:WindowShade>
  146. <helpers:WindowShade id="scanner" label="{resourceManager.getString('labels', 'titleScanner')}" width="100%" opened="true" styleName="titlePanelDynamic" click="actionOnZones(event, 'ZoneTwo')">
  147. <mx:Canvas styleName="containerRedCompact" height="355" width="100%" horizontalScrollPolicy="off" verticalScrollPolicy="off">
  148. <mx:VBox height="340" width="100%" styleName="containerRedContentSync" horizontalScrollPolicy="off" verticalScrollPolicy="off">
  149. <mx:FormItem label="{resourceManager.getString('labels', 'nameScanner')}" width="100%" labelWidth="130">
  150. <helpers:TextInputWithSkin id="nameTextInput" tabIndex="23" width="100%" maxChars="99" styleName="textInput" />
  151. </mx:FormItem>
  152. <mx:FormItem id="brandLabel" required="true" label="{resourceManager.getString('labels', 'brand')}" width="100%" labelWidth="130">
  153. <helpers:TextInputWithSkin id="brandTextInput" maxChars="99" tabIndex="24" width="100%" styleName="textInput" />
  154. </mx:FormItem>
  155. <mx:FormItem label="{resourceManager.getString('labels', 'type')}" width="100%" labelWidth="130" >
  156. <mx:TextInput id="typeTextInput" tabIndex="25" maxChars="99" width="100%" />
  157. </mx:FormItem>
  158. <mx:FormItem label="{resourceManager.getString('labels', 'age')}" width="100%" labelWidth="130">
  159. <mx:NumericStepper id="ageNumericStepper" tabIndex="26" width="100" minimum="1980" maximum="{_maxYear}" stepSize="1" />
  160. </mx:FormItem>
  161. <mx:FormItem required="false" label="{resourceManager.getString('labels', 'frequency')}" width="100%" labelWidth="130">
  162. <mx:NumericStepper id="frequencyNumericStepper" tabIndex="27" width="100" minimum="0" maximum="15" stepSize="1" />
  163. </mx:FormItem>
  164. <mx:Spacer height="100%" />
  165. <mx:Text width="100%" selectable="false" text="{resourceManager.getString('labels', 'textScanner')}" />
  166. </mx:VBox>
  167. </mx:Canvas>
  168. </helpers:WindowShade>
  169. </mx:HBox>
  170. </mx:HBox>
  171. <mx:HBox width="100%" paddingTop="0" visible="false" includeInLayout="false" horizontalScrollPolicy="off" verticalScrollPolicy="off">
  172. <mx:VBox width="30" height="100%" styleName="containerZone" click="actionOnZones(event, 'ZoneThree')">
  173. <mx:LinkButton id="partThree" visible="{_partThreeValid}" styleName="statusIcon" />
  174. </mx:VBox>
  175. <mx:HBox width="100%" horizontalScrollPolicy="off" verticalScrollPolicy="off">
  176. <helpers:WindowShade id="mathContainer" label="{resourceManager.getString('labels', 'titleMath')}" width="100%" opened="true" styleName="titlePanelDynamic" click="actionOnZones(event, 'ZoneThree')">
  177. <mx:Canvas styleName="containerRedCompact" height="45" width="100%">
  178. <mx:VBox height="25" width="100%" styleName="containerRedContentSync">
  179. <mx:FormItem required="{_model.clinicalStudies}" label="{resourceManager.getString('labels', 'math')}" width="100%" labelWidth="130">
  180. <mx:TextInput id="math" width="100%" />
  181. </mx:FormItem>
  182. </mx:VBox>
  183. </mx:Canvas>
  184. </helpers:WindowShade>
  185. <helpers:WindowShade id="vatContainer" label="{resourceManager.getString('labels', 'titleVAT')}" width="100%" opened="true" styleName="titlePanelDynamic" click="actionOnZones(event, 'ZoneThree')">
  186. <mx:Canvas styleName="containerRedCompact" height="45" width="100%">
  187. <mx:VBox height="25" width="100%" styleName="containerRedContentSync">
  188. <mx:FormItem required="true" label="{resourceManager.getString('labels', 'vat')}" width="100%">
  189. <mx:CheckBox id="vatCheckBox" />
  190. </mx:FormItem>
  191. </mx:VBox>
  192. </mx:Canvas>
  193. </helpers:WindowShade>
  194. </mx:HBox>
  195. </mx:HBox>
  196. <mx:HBox width="100%" horizontalAlign="left" paddingLeft="105">
  197. <mx:Text selectable="false" fontWeight="bold" paddingLeft="20" htmlText="{resourceManager.getString('labels', 'betaVersion')}" />
  198. </mx:HBox>
  199. <mx:HBox width="100%" horizontalAlign="left" paddingLeft="105">
  200. <mx:CheckBox id="licenceAgreeCheckBox" labelPlacement="left" label="" />
  201. <mx:Text selectable="false" htmlText="{resourceManager.getString('labels', 'agree')}" click="onReadLicence(event)" buttonMode="true" useHandCursor="true" />
  202. </mx:HBox>
  203. <mx:HBox width="100%" horizontalAlign="left" paddingLeft="105">
  204. <mx:CheckBox id="dataBaseAgreeCheckBox" label="" />
  205. <mx:Text selectable="false" htmlText="{resourceManager.getString('labels', 'agreeDatabase')}" click="onReadDatabase(event)" buttonMode="true" useHandCursor="true" />
  206. </mx:HBox>
  207. <mx:HBox width="100%" horizontalAlign="left" paddingLeft="105">
  208. <mx:CheckBox id="physicianAgreeCheckBox" label="" />
  209. <mx:Text selectable="false" htmlText="{resourceManager.getString('labels', 'agreePhysician')}" buttonMode="true" useHandCursor="true" />
  210. </mx:HBox>
  211. <mx:HBox width="100%" horizontalAlign="center">
  212. <mx:Button id="registerButton" tabIndex="28" label="{resourceManager.getString('labels', 'registration')}" width="120" click="onRegister(event)" keyDown="onRegister(event)" buttonMode="true" useHandCursor="true"/>
  213. </mx:HBox>
  214. </mx:VBox>