Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
web:fieldmask [2017/04/09 23:21]
agcyphers [Formatting]
web:fieldmask [2018/04/14 16:09] (current)
Line 1: Line 1:
-====== Enumerations ​======+==== Enumerations ====
 ^ Name      ^ Values ​      ^ ^ Name      ^ Values ​      ^
 |  | This class exposes no enumerations. | |  | This class exposes no enumerations. |
  
-====== Constants ​======+==== Constants ====
 ^ Name      ^ Type     ^ Value       ^ ^ Name      ^ Type     ^ Value       ^
-| Mask24HrTime | String | "​99:​99?:​99"​ | +| Mask24HrTime ​| [[http://​developer.xojo.com/​string|String]] | "​99:​99?:​99"​ | 
-| MaskCAZipCode | String | "a9a 9a9" | +| MaskCAZipCode ​| [[http://​developer.xojo.com/​string|String]] | "a9a 9a9" | 
-| MaskCreditCard | String | "9999 9999 9999 99?99" | +| MaskCreditCard ​| [[http://​developer.xojo.com/​string|String]] | "9999 9999 9999 99?99" | 
-| MaskDate | String | "​99/​99/​9999"​ | +| MaskDate ​| [[http://​developer.xojo.com/​string|String]] | "​99/​99/​9999"​ | 
-| MaskDateDashed | String | "​9999-99-99"​ | +| MaskDateDashed ​| [[http://​developer.xojo.com/​string|String]] | "​9999-99-99"​ | 
-| MaskDEPostCode | String | "​99999?​-99999"​ | +| MaskDEPostCode ​| [[http://​developer.xojo.com/​string|String]] | "​99999?​-99999"​ | 
-| MaskPhone | String | "(999) 999-9999"​ | +| MaskPhone ​| [[http://​developer.xojo.com/​string|String]] | "(999) 999-9999"​ | 
-| MaskPhoneExt | String | "(999) 999-9999? x99999"​ | +| MaskPhoneExt ​| [[http://​developer.xojo.com/​string|String]] | "(999) 999-9999? x99999"​ | 
-| MaskPhoneWithCountry | String | "+999 (999) 999-9999"​ | +| MaskPhoneWithCountry ​| [[http://​developer.xojo.com/​string|String]] | "+999 (999) 999-9999"​ | 
-| MaskSSN | String | "​999-99-9999"​ | +| MaskSSN ​| [[http://​developer.xojo.com/​string|String]] | "​999-99-9999"​ | 
-| MaskTaxID | String | "​99-9999999"​ | +| MaskTaxID ​| [[http://​developer.xojo.com/​string|String]] | "​99-9999999"​ | 
-| MaskUKPostCode | String | "**** ***" | +| MaskUKPostCode ​| [[http://​developer.xojo.com/​string|String]] | "**** ***" | 
-| MaskUSZipCode | String | "​99999?​-9999"​ |+| MaskUSZipCode ​| [[http://​developer.xojo.com/​string|String]] | "​99999?​-9999"​ |
  
-====== Events ​======+==== Events ====
 ^ Definition ​     ^ Description ​      ^ ^ Definition ​     ^ Description ​      ^
 | MaskComplete( TheField as WebTextField ) | This event is fired when one of the controls that GraffitiWebFieldMask is bound to has had its mask completed by the user. | | MaskComplete( TheField as WebTextField ) | This event is fired when one of the controls that GraffitiWebFieldMask is bound to has had its mask completed by the user. |
  
-====== Methods ​======+==== Methods ====
 ^ Definition ​     ^ Description ​      ^ ^ Definition ​     ^ Description ​      ^
-| MaskField( FieldToMask as WebTextField,​ MaskFormat as String ) | Applies the supplied mask and CueText to the specified field. MaskFormat may use a user-specified format or one of the included constants. |+| MaskField( FieldToMask as WebTextField,​ MaskFormat as [[http://​developer.xojo.com/​string|String]] ) | Applies the supplied mask and CueText to the specified field. MaskFormat may use a user-specified format or one of the included constants. |
  
-====== Properties ​======+==== Properties ====
 ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^ ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^
 | Placeholder | String = "​_"​ | The character used to occupy empty spaces which must be filled by the user. This is used for display purposes. | | Placeholder | String = "​_"​ | The character used to occupy empty spaces which must be filled by the user. This is used for display purposes. |
  
-====== Formatting ​======+==== Formatting ====
 The Mask is a string, and there are several predefined masks in the form of constants (GraffitiWebFieldMask.MaskPhone). The Mask is a string, and there are several predefined masks in the form of constants (GraffitiWebFieldMask.MaskPhone).
  
Line 41: Line 41:
 | ? | Anything after the question mark is considered optional, and the MaskComplete event will fire with or without that section being filled. | | ? | Anything after the question mark is considered optional, and the MaskComplete event will fire with or without that section being filled. |
  
-====== Examples ​======+==== Examples ====
 There are currently no examples for this class. There are currently no examples for this class.
  • Last modified: 15 months ago
  • (external edit)