Input Types

<< Click to Display Table of Contents >>

Navigation:  General Functions > Configuring the MIE (Programmer's Guide) >

Input Types

The MIE supports on-screen data management through a number of various HTML input types.  Most of the standard HTML input types (such as TEXT, TEXTAREA, SELECT) are supported, but may be referred to differently by the MIE's input management system.

The following input types are supported:

Input Type

Definition

TEXT

Creates an HTML TEXT input.

DATE

Creates an HTML TEXT input and adds a calendar icon to the right of the input field.  If the user clicks on the icon, a calendar pops up allowing the user to select a date from the calendar.

TIME

Creates an HTML TEXT input.

AUTOINC

Creates an HTML TEXT input that is automatically filled in with the next available number from a defined auto-increment range.  Auto-increment ranges are defined using REMOTE-RDCnet-AUTOINCREMENT.  Autoinc should typically be set to read-only so that the user cannot change the value.

FILESIZE

Creates an HTML TEXT input that is automatically filled in with the file size (in bytes) of the file referenced in the PromptTable field of the associated business rule.  The PromptTable field contains a comma delimited string of up to 3 fields:  <file name>,<customer number>,<MIE path number>.  <file name> and <customer number> can be literal values or can be defined as on screen tags (tags that reference other fields on the screen and therefore are resolved with the values in those fields before this input control is written.  Filesize types are typically set to read-only so that the user cannot change the value.

FILEDATE

Similar to Filesize except the file date is automatically filled in.

FILECOMPRESSXML

(Not supported)

FILECOMPRESS

(Not supported)

FILEMD5

Similar to Filesize except the MD5 hash value for the contents of the file is automatically filled in.

FILECRC

Similar to Filesize except the Cyclic Redundancy Check (CRC) value of the contents of the file is automatically filled in.

BUTTON

Creates an HTML BUTTON input.

SUBMIT

Creates an HTML SUBMIT input.

TEXTOPTION

Creates an HTML SELECT input if available, otherwise creates an HTML TEXT input.

OPTION

Creates an HTML SELECT input that allows only one selection.

OPTIONMULTI

Creates an HTML SELECT input that allows multiple selections.

HIDDENOPTION

Creates an HTML SELECT input if the current value is numeric and greater than or equal to the user's current access level.  Otherwise, creates an HTML HIDDEN input.

PASSWORD

Creates an HTML PASSWORD input.

TEXTAREA

Creates an HTML TEXTAREA input.

RICHTEXTAREA

Creates a full featured HTML editor input area.  This is generally used where HTML editing is important - such as forming email templates, catch point screens, or data input screens.  However, it can be used anywhere a TEXTAREA is used.

RECORDBOX

Creates an HTML TEXTAREA input that is interpreted as a record box.  A record box allows a user to input values, one line at a time, into a text area.  When the form is submitted, the MIE will process the record box as a collection of database records.  A record box is a fast way of inputting single values into a prompt table, for instance.

ATTACHMENTS

Inserts an attachments area.  An attachments area will list all current attachments to the record and display the icons of the individual program that the attachment is associated with.  It will also list the name of the individual who uploaded the attachment, along with the current version.  If the user that uploaded the attachment is the current user, a check box will also be displayed allowing the user to check the attachment for removal.

CHECKBOX

Creates an HTML CHECKBOX input.

CHECKSTRING

Creates an HTML CHECKBOX input.  Input value (checked/unchecked) is determined by matching the value of a substring defined in the CharsMustHave field of the associated business rule with the value of the database field defined in the dataInputs table.  If the substring is contained, the checkbox is checked.  This type can only be used with screens being managed by AdminEditPage.asp.

RADIO

Creates an HTML RADIO input.

LOOKUPKEY

Looks up the record in the table specified in the associated default value and displays the value in the field (also specified in the default value).  This type does not create an INPUT control.  The default value contains a comma-delimited string of subfields as follows:  <table to search>,<field to search on>,<field to return>.  The value of the current field is used as the search value.

BREAK

Inserts the caption in the Cascading Style Sheet class defined for the input record.

HTML

Inserts the caption as is.  The caption will generally contain static HTML that is simply inserted.

SPACE

Inserts the caption in the Cascading Style Sheet class defined for the input record.

MESSAGE

Inserts a message from the dataMessages table in the Cascading Style Sheet class defined for the input record.  The message number is defined in the caption.  The message may contain tags.  The values defined for Table, Field, and Default are passed as {%V1%}, {%V2%}, and {%V3%} respectively.

MESSAGERAW

Inserts a message from the dataMessages table as is.  The message number is defined in the caption.  The message can contain tags.  The values defined for Table, Field, and Default are passed as {%V1%}, {%V2%}, and {%V3%} respectively.

HIDDEN

Creates an HTML HIDDEN input with the current value passed as the hidden value.

HIDDENDEFAULT

Creates an HTML HIDDEN input with the current default passed as the hidden value.

LABEL

Inserts the current value in the Cascading Style Sheet class defined for the input.

IMAGE

Inserts an HTML IMG type.

REPORT

Inserts an MIE HTML report.  The report's repNo value (key in dataReports) is contained in the default field.

DIV

Inserts a scrollable table using an HTML DIV tag.  Must use one of the cascading style sheet DIV classes to cause the table to scroll.