Scripting > mrScriptMetadata User's Guide > mrScriptMetadata reference > Styles and templates > HTML5 input types
 
HTML5 input types
The following table defines the HTML5 input types that are supported by the IStyle.Control.Type enumeration:
HTML5 input type
UNICOM Intelligence types
IOM Control Types (enum)
Min Attribute
Max Attribute
Step Attribute
Maxlength Attribute
Required Attribute
Autofocus Attribution
range
Number
ctRange
Yes
Yes
No
 
No
No
number
Number
ctNumber
Yes
Yes
No
 
No
No
email
Text
ctEmail
 
 
 
Yes
No
No
url
Text
ctUrl
 
 
 
Yes
No
No
date
Date
ctDate
 
 
 
Yes
No
No
tel
Text
ctPhoneNumber
 
 
 
Yes
No
No
datetime
Date/Time
ctDateTime
Yes
Yes
No
 
No
No
time
Date/Time
ctTime
Yes
Yes
No
 
No
No
datetimelocal
Date/Time
ctDateTimeLocal
Yes
Yes
No
 
No
No
month
Text
ctMonth
 
 
 
 
No
No
Examples
The HTML5 example project demonstrates the supported HTML5 input type usage. It is installed with the UNICOM Intelligence Developer Documentation Library at:
[INSTALL_FOLDER]\IBM\SPSS\DataCollection\7\DDL\Scripts\Interview\HTML Controls\HTML5
See
Styles and templates