Managing Field Definitions
Manager Contents
User Contents

Contents

Introduction
Field Settings

Introduction

The Field Definitions pages, accessed from the Form and Workflow Design section of the Manage page, allow form fields to be customized. Click the Field Definitions button to edit the field definitions for a category (form). A table listing the various fields will be presented, along with samples of the forms that would result from these definitions. The table shows the current caption for the field, whether or not the field is visible on the forms, the order it appears on each of the forms, the underlying data type of the field, etc.

The field list is color-coded to indicate which fields are available for general purpose usage, and which fields have special meaning in CATSWeb (System Fields or fields that are used only in filters and queries). System fields can be modified to some extent, but CATSWeb places restrictions on which field settings can be changed, depending on the function and purpose of the particular field. Fields used only for filters and queries are derived or calculated fields, and can never be used on data entry forms.

The Field Definitions Form also allows multiple Field Access Restrictions, Drill Down Links, and Intelligent Lists and to be associated with the field. See those topics for more information.

Quick Tip - Fields vs. Controls

CATSWeb and its documentation uses the terms "Field" and "Control" to refer to elements on forms, sometimes in contexts where they seem interchangeable. So what is the difference? Not much, for most practical purposes.

In a more rigid software development environment, a "Control" is an element of the user interface, and a "Field" is a location to store data, such as in a database table. Controls may or may not be bound to Fields. Examples of controls in CATSWeb that are not bound to fields include Section Breaks, Drill Down Buttons, and Fixed Text Area controls. These controls are aspects of the form design, but do not store their information within fields in the underlying Issue, Action, Subtask or Subform records. Instead, they store their information with the form design itself. Yes, fields are technically used to accomplish the data storage (in the table that stores form designs), but this isn't really relevant for most form design activities.

So...

Unless you are a database administrator or a software developer, think of fields and controls interchangeably. And if you are a database administrator or a software developer, you will immediately be able to translate "Field" to "Control" (or vice-versa) as you see the context the terms is used in.


Quick Tip - Filter/Query Only Fields

You may notice that some of the Filter/Query Only fields seem redundant with other fields (e.g. UserAssigned, UserDueDate). Actually, these fields are often "smarter" than their equivalent "real" fields. For example, Issue forms that include a disposition step have two different sets of "real" assignment and due date fields: one set applies to the Disposition Request stage, and one applies to the Action Request stage. The Filter/Query Only equivalents are smart in that they automatically choose the correct field(s) based on the status of the underlying record.

Bottom Line: When configuring your query form, and you must choose between Filter/Query Only fields and a "real" field, use the Filter/Query Only field.


Field definition changes made will normally apply only to the category that is being worked on. To copy the changes to all categories for the form, check the box that is immediately above the submit button. After submitting changes to a field, CATSWeb will respond with a refreshed listing of all fields in the category, and refreshed form samples that will show the effects of the change.

Field Settings

The following settings apply to fields and controls. Some settings may not be applicable to all field and control types, and some may not be modifiable:

Action Order Form Rows Query List Style
Alternate Text Format Query Order
Background Color Full Text Index Reload Button
Bind to List Graphics File Reload Options
Caption Height Render HTML In View Mode
Caption Style Class Hidden Outside Form Section Break Text
Caption Text (text cell) Horizontal Alignment Subform Order
Control Name HTML Anchor Subtask Order
Control Type Issue Order System Mandatory
Dashboard Background Color Link Text Table Field
Default Value List in Query Text
Description List Value Validation Text Color
Disable Affiliate Edit Main List Style Use Color in Read-only View
Disposition Order Mandatory Use Full Row
Editable on Add Mandatory on Closure Validation Rule
Editable on Edit Mandatory on Completion Value Style Class
Effectiveness Order Max Multi-select Selections Vertical Alignment
Extended Default Multi-select Display Visible on Add
Field Length Order Fields Visible on Edit
Field Type Pull-down in Query Visible on View
Form Columns Width
 


Alternate Text - The Alternate Text field is used in conjunction with Drill Down Button controls. It specifies the text that is displayed to the user as the button is loaded by the browser, or when the user hovers their mouse over the button.

Background Color - This setting is only available for Section Break and Fixed Text Area controls. It specifies the background color for the control. The list of available colors can be augmented or modified via the HTML Colors system list. Utilizing only Web Safe Colors will provide the best consistency across the widest variety of web browsers and platforms. Note the following:
  • This setting may be overriden by settings in the current Interface Preference (see the Form Section Breaks and Form Fixed Text Areas sections).
  • This setting does not apply to section breaks on query forms, which are considered to be system section breaks.
  • When a form is displaying in read-only (View) mode, this setting may or may not be used, depending on the Use Color in Read-only View setting.
  • When a Dashboard is being displayed, this setting may or may not be used, depending on the Dashboard Background Color setting.

Back to Top

Bind to List - If desired, select a List or Data Link to bind the field to. The field will be transformed to a pull-down list, and the list entries will come from the List or Data Link. To return the field to a text box, select "-- None --". Note that pull-down lists force the user to select an entry from the list, or make no entry at all. The user cannot type in an arbitrary entry.

If the Data Link requires input values from the CATSWeb form or record (via stored procedure parameters, replacements into the SQL of an SQL data link, etc.)  it will malfunction when used as a list binding. In those cases, use an Intelligent List instead.

Quick Tip - Multi-row Lists

After you bind a field to a list, submit, and re-open the Field Definition page you will receive new options (Main List Style, Query List Style, etc.) if your system includes the Multi-select List option. These options allow you to configure your list to use multiple rows or to accept multiple selections. IMPORTANT: If the data in your list contains commas, you should not use the multi-select option.


Caption - For most field types, this is the caption of the field as it appears on CATSWeb forms (100 characters max). For Text Cells, Drill Down Buttons, Section Breaks and Fixed Text Area fields, this is only used for alphabetizing the field in the field definition list. The Caption Text, Link Text, Section Break Text and Text settings specify what is actually shown on the form in those cases.

Caption Text - Used only in Text Cells, this specifies the actual text that will be displayed in the Caption cell on the form. The normal Caption setting is only used for alphabetizing the field in the field definition list. The Default Value setting may be used to specify the text that appears in the Field cell.
 

Back to Top


Caption Style Class - A drop down list of possible CSS styles. Requires CSS Interface Preference. This specifies the CSS class that will be used for style in the Caption cell on the form. See Value Style Class for the field value.

Back to Top

Control Name - The control name is the internal name that CATSWeb assigns to a field. The control name value can generally be ignored, it is primarily displayed to assist AssurX Technical Support in handling field-related support issues. CATSWeb uses the Table Field name as the primary means of referencing a field.


Control Type - The type of data entry control used for the field (non-editable). In addition to the standard HTML control types, CATSWeb uses several special controls, including Text Cells and Drill Down Buttons.

Back to Top


Dashboard Background Color - This setting is only available for the Section Break and Fixed Text Area controls on Dashboard Templates. It specifies how the background color for the control is determined. The Transparent option means that the page background color for the Dashboard will be used, effectively making the control appear to be transparent. The Selected Background Color option means that the color specified in the Background Color setting will be used, regardless of what the Dashboard's page background color is.

Back to Top

Default Value - If desired, enter a default value for the field. This value will appear in the form each time a user adds a new record. The user can change the default value prior to saving the record. The default value can be a literal constant, or it can be a link to a variable, the value of which is supplied at runtime. To specify a variable or token, the first character of the default value must be an exclamation point ("!").

Here are some examples:

Default Value Result
Sally Williams The literal value "Sally Williams" is the default at all times.
!{My Name} The name of the current CATSWeb user is inserted as the default. Similar text tokens may be used to define other variable/relative values, just as they may be used in Queries.
!{Employee Names} The first name found in the internal "{Employee Names}" list is inserted as the default. Similar text tokens may be used to define other variable/relative values, just as they may be used in Queries.
![My Custom Data Link] The first value found in the user-specified "[My Custom Data Link]" Data Link is inserted as the default. If the Data Link requires input values from the CATSWeb form or record (via stored procedure parameters, replacements into the SQL of an SQL data link, etc.)  it cannot be used to provide a default value.
!My Own List The first value found in the user-specified "My Own List" List is inserted as the default.
!{Today + 5} The date 5 days in the future is the default. Similar date tokens may be used to define other variable/relative dates, just as they may be used in Queries. Date ranges are not applicable here, since the default is a single value. This application note outlines other ways to use variable/relative dates.
!LP|EN The name of the current user is inserted as the default. This example uses the CATSWeb internal code for the employee name field of the current session record. When the form definition is edited again, it will automatically be replaced by "!{My Name}", which is equivalent and easier to interpret for administrators. Direct entry of internal codes such as this should only be attempted by experienced administrators, or at the direction of AssurX.com technical support personnel.
Request Signatures The Signature Request Field defaults to "Request Signatures" when a new record is created, instead of the usual default of "Signatures Not Requested".

Note that if the Control Type is a pull-down list, the default value will only appear if the value is also included in the list. The default value has special meaning for Text Cell and Drill Down Button controls. Note that an alternative way of setting the value of fields, even when the form is in Edit mode, is to use the Field Value property in a Modify Form Field Properties configurable action.

Back to Top

Description - This setting is used to specify the text that is displayed to users when they float their mouse over the end of the field's caption to display the Tool Tip Help. The size and visibility of the tool tip help region may be configured for individual Employees (or Personalities). For controls without captions (e.g. Submit Buttons, Drill Down Buttons), the description is not used in the form and may be set arbitrarily.

Back to Top


Disable Affiliate Edit - Checking this box causes the field to not be editable by affiliate users. An affiliate user can be prohibited from editing a record in its entirety by revoking editing permissions in the page.

Back to Top


Editable on Add - Uncheck this box to make the field non-editable on forms during add mode. This default setting may be overriden for particular users by defining a Field Access Restriction. Making a field non-editable is useful when you want a value to be saved with the record that the user cannot modify. Use the Default Value setting to specify the value for non-editable fields. Note that if you designate a mandatory field to be non-editable, you must specify a default value, or implement an Event Hook to provide the value. If you do not, the user will not be able to save records that are added or edited via this form.

NOTE: Because Disposition information is stored with the Issue record, and Effectiveness information is stored with the Action record, the Disposition and Effectiveness forms always operate in edit mode.

Editable on Edit - Uncheck this box to make the field non-editable on forms during edit mode. This default setting may be overriden for particular users by defining a Field Access Restriction.

NOTE: Because Disposition information is stored with the Issue record, and Effectiveness information is stored with the Action record, the Disposition and Effectiveness forms always operate in edit mode.
  Extended Default - This setting is used with Memo fields to allow a default value to be specified that is longer than allowed by the Default Value setting (limited to 50 characters). To use this feature, check the Extended Default checkbox, and submit the field definition. Edit the field definition again.  A new Extended Default memo field will appear on the field definition form. You may now enter up to 4000 characters of text to serve as the default value of this memo field. The Default Value setting will now be ignored. To return the memo field to the normal mode of using the Default Value setting for its default, uncheck the Extended Default checkbox and submit the field definition.
 
Field Length - This is only shown for text fields, and is the maximum length of the text field (non-editable).
  Field Type - When the control has an actual underlying data field, this is the field type (non-editable). This is important because a field designed to receive numeric input will give the user a validation error if non-numeric text is entered instead.

When the control does not have an underlying data field (e.g. Submit Buttons, Fixed Text Areas), this setting is somewhat arbitrary and intended to best reflect the data represented by the control. For example, a Submit Button will indicate "None", since it is a graphic file with no real data, and a Fixed Text Area control will indicate "Memo", since it is designed to display long alphanumeric data.

Field types are expressed using generic terms that may or may not be the same as the field type designators used by the underlying Database Management System (DBMS). CATSWeb Database Documentation provides DBMS-specific mappings for these generic terms. Field types include the following:
  • Text - A text field can accept any kind of alphanumeric input. The field has a maximum length as specified by the Field Length setting. This is mapped to the following:
    • .NET: String.
    • SQL Server: NVarChar().
    • Oracle: NVarChar2.
  • Yes/No - A binary check box that represents Yes or No, True or False, etc. Can also be used for Signature Request fields. This is mapped to the following:
    • .NET: Boolean or Short.
    • SQL Server: Bit or SmallInt.
    • Oracle: Number.
  • Currency - A field designed to display currency values, entries must be numeric.CATSWeb Currency fields do not include cents. To include cents, use a CATSWeb Double Precision field. This is mapped to the following:
    • .NET: Decimal,Numeric, Double or Float.
    • SQL Server: Decimal(18,0).
    • Oracle: Number.
  • Integer - An integer number in the range of -32,768 to 32,767. This is mapped to the following:
    • .NET: Short.
    • SQL Server: SmallInt
    • Oracle: Number.
  • Long Integer - An integer number in the range of -2,147,483,648 to 2,147,483,647.
    • .NET: Integer.
    • SQL Server: Int.
    • Oracle: Number.
  • Single Precision - A single precision floating point number. These have a range of -3.402823E38 to -1.401298E-45 for negative values, and 1.401298E-45 to 3.402823E38 for positive values. Most decimal or integer numbers can be represented by this field type (e.g. typical numbers with less than 10 decimal places).
    • .NET: Float.
    • SQL Server: Float.
    • Oracle: Number.
  • Double Precision - A double precision floating point number. These have a range of -1.79769313486232E308 to -4.94065645841247E-324 for negative values, and 4.94065645841247E-324 to 1.79769313486232E308 for positive values. This field type is appropriate for numbers that must be specified with an ultra high degree of precision (e.g. scientific values with 10 or more decimal places).
    • .NET: Double.
    • SQL Server: Float.
    • Oracle: Number.
  • Memo - A text field that has unlimited length.
    • .NET: String.
    • SQL Server: NVarChar(Max).
    • Oracle: Number.
  • Date - A field that only accepts valid dates. Dates may be entered in a variety of formats. Dates will be displayed in the format specified in the Regional Settings applet on the web server (available via Control Panel).
    • .NET: DateTime
    • SQL Server: DateTime
  • None - Drill down buttons and some other control types with no underlying table field (e.g. Submit Buttons) have the "None" designation.

Back to Top

Form Columns - The number of columns that a field or control consumes in the form. This setting is ignored if the Use Full Row box is checked. Note that the number of columns available in a particular form is specified in the Category Edit page.

Form Rows - The number of rows that a field or control consumes in the form. If a field is meant to consume the entire row throughout the form, specify an arbitrarily high number such as 999.

Quick Tip - Form Columns and Rows

You may find it easier to design a new form by setting both Form Columns and Form Rows to 1. After the initial layout is finished, you can then add polish by adjusting these values as needed. Keep in mind that CATSWeb forms are drawn from top to bottom, left to right. If a position in the form's table is already occupied by a prior field that spans multiple rows or columns, CATSWeb moves to the next available position in the top-to-bottom, left-to-right sequence.

Format - Specifies optional formatting that will be applied to the field when it is displayed in a read-only mode (e.g. when the record is being viewed but not edited). Named formats are available for dates and numbers, and custom formats may also be created and entered. Here are some commonly used named formats:

Named Format Alternate Text
General Date Display a date and time (e.g. "4/3/93 05:34 PM"). The date format is determined by the system's (web server's) international settings.
Short Date Display a date using the system's (web server's) short date format (e.g. "4/19/2000").
Medium Date Display a date using the system's (web server's) medium date format (e.g. " 19-Apr-00").
Long Date Display a date using the system's (web server's) long date format (e.g. "Wednesday, April 19, 2000").
Currency Display a number with thousands separator and a currency symbol based on the system's (web server's) locale setting (e.g. "$1,045.68").
Fixed Display a number with at least one digit to the left and two digits to the right of the decimal separator. (e.g. "0.14").
Standard Display number with thousand separator, at least one digit to the left and two digits to the right of the decimal separator. (e.g. "1,234,567.80").
Percent Display number multiplied by 100 with a percent sign appended to the right. Always display two digits to the right of the decimal separator. (e.g. " 12.00%").
Scientific Display number using standard scientific notation. (e.g. "1.23E+06").

Custom formats may also be specified, such as "d-mmmm h:mm". For more information on additional named formats and custom formats, see Microsoft documentation for the Format function in Visual Basic and Visual Basic for Applications. As of this writing, the information was available here:

MSDN: Strings.Format Method (.NET 4)

Back to Top


Full Text Index - Available only when the CATSWeb Full Text Search optional feature is installed, this setting determines whether or not the field's data is included in Full Text Search indexes. Note that changes to this setting only take effect when the indexes are rebuilt.

  • Note that only text and memo fields may be indexed, this setting is ignored for other field types.
Graphics File - For Drill Down Buttons, this specifies the optional graphical element (image) used. If the filename of the image is specified by itself, CATSWeb will look for the image in the CATSWeb directory on the web server. To load an image from a CATSWeb subdirectory, such as the LinkGraphics subdirectory, specify the image like this: "LinkGraphics/Customer.gif".

Submit Button controls also specify a Graphics File. In this case, the image is expected to be in the CATSWeb graphics subdirectory, or other subdirectory as may be specified in the Graphics Subdirectory setting of the current Interface Preference.
  Height - This setting is available for memo fields and multi-row lists. It specifies the height of the field in units of text rows.
 

Back to Top


Hidden Outside Form - Check this box to cause the field to be hidden outside the form layout table, instead of occupying the cell(s) it would otherwise occupy in the form based on its order setting. For example, Event Hooks or Data Links may utilize hidden fields for state tracking. Hiding them outside the form eliminates vestigial display artifacts that may otherwise remain due to the empty table cells.

  • Using Hidden Outside Form withing the Field Defintion should only be used if there is never a need to view the field.
  • It is recommend that hiding a field be done via a Configurable Action or Event Hook. The advantage of using this method is that it still allows these fields to be visible in an archive or forwarded copy of the record.
  • Fields hidden outside the form must still have a non-zero order setting if their values are to be available to event hooks, data links, etc.
  • Avoid hiding system or mandatory fields outside of the form, as this may cause the form to malfunction upon submission.


Horizontal Alignment - This setting is only available for Section Break and Fixed Text Area controls. It specifies the horizontal alignment of text within the control (left-aligned, centered, or right-aligned). See also: Vertical Alignment

Back to Top


HTML Anchor - This optional setting causes an HTML Auchor tag to be placed next to the field. The anchor will use the Table Field name. The anchor will not be placed on the query form. The anchor may then be used (for example) in URLs that point directly to that location on a page, or used as a Destination for Image Map Navigator or Image Map Viewer display parts that are on the same page as the form.

Link Text - The link text (200 characters max) is used by Drill Down Button and Text Cell controls. Refer to those topics for more information.

List Value Validation - This setting is only relevant when a field has been bound to a list. When checked, CATSWeb will validate that submitted values are members of the list. This setting is typically only used with Intelligent Lists. Read this topic for more information.
 

Back to Top

Main List Style - This setting is only available for fields that are bound to lists, and only if the Multi-select Lists option has been installed. It specifies the style of the list in data entry forms. The Query List Style setting may be used to specify the style of the list in query forms. The available options are:
  • Pull-down - A traditional pull-down list that allows only a single item (or no item) to be selected.
  • Single-select List - A list that displays available items using multiple rows in the form, but only allows a single item (or no item) to be selected. The Height setting determines how many rows are used to display available items.
  • Multi-select List - A list that is similar to the Single-select List, but allows for multiple items to be selected. The Height setting determines how many rows are used to display available items, and the Max Multi-select Selections setting may be used to limit how many items may be selected. In most Web browsers, holding down the Shift key allows multiple contiguous items to be selected (i.e. a range of items), while holding down the Ctrl key allows multiple non-contiguous items to be selected.

    When multiple items are selected, they are stored in the database as a comma-delimited string. Multiple-select lists typically use an underlying memo field or long text field to provide sufficient room to store the selected items. Important: The Multi-select list should not be used when the list items contain commas, since the comma is used by HTML to delimit multiple selected items.
Mandatory - Check this box to require the user to make an entry in the field before the record can be saved. CATSWeb requires that some fields are always mandatory, and this setting will be ignored for those fields (see System Mandatory below).
  Mandatory on Closure - This setting is available for fields in Action and Subtask forms. When checked, CATSWeb validates that a value has been entered in the field when a user changes the record's status to Closed. For check boxes, it validates that the box has been checked. This setting does not affect the color-coding of the field on the form. If a Signature Controlled Operation is configured to automatically close the record upon addition of the final signature, this setting will be ignored.
  Mandatory on Completion - This setting is available for fields in Action and Subtask forms. When checked, CATSWeb validates that a value has been entered in the field when a user changes the record's status to Completed. For check boxes, it validates that the box has been checked. This setting does not affect the color-coding of the field on the form. If a Signature Controlled Operation is configured to automatically complete the record upon addition of the final signature, this setting will be ignored.
 

Back to Top

Max Multi-select Selections - This setting is only available for fields that are bound to lists, and only if the Multi-select Lists option has been installed. It specifies the maximum number of items that a user may submit from a multi-select list on a data entry form. It has no effect on query forms. The value 0 (zero) means there is no limit up to a system max of 200 items. This setting is enforced like other validation criteria after the user submits the page, not when they are actually selecting items. Note that the length of the underlying table field will also constrain how many selections can be made, since the comma-delimited list of selections must be able to fit in the table field.
 
Multi-select Display - This setting is only available for fields that are bound to lists, and only if the Multi-select Lists option has been installed. It specifies how multiple items from a multi-select list are displayed when the field is in read-only mode (e.g., when the record is viewed). The setting has no effect in query result displays, which always display multiple items using the comma-delimited format. The options include:
  • Comma-delimited - Multiple items are displayed in a comma/space delimited format, such as "Item 1, Item 2, Item 3".
  • Line Breaks - Multiple items are displayed one above another with line breaks separating them, like this:

    Item 1
    Item 2
    Item 3

  • Standard (DL) List - Multiple items are displayed in an HTML Definition List. Web browsers typically render this in a way similar to the Line Breaks option, but with right alignment instead of left alignment.
  • Bulleted (UL) List - Multiple items are displayed in an HTML Unformatted (bulleted) List. Web browsers typically render this like the list of options for this setting that you are currently reading.

Order Fields - The numeric value specified in the Order fields determines the order in which the field appears on the form.

  • Lower negative numbers appear first in the form, and higher positive numbers appear later on the form.
  • Specify the value of 0 (zero) to eliminate a field from the form. This effectively hides the field on the form.
    Suggestions for using an Order = 0.
    • Avoid using Order = 0 on mandatory fields that require input from the user.
    • Order = 0 prevents fields from being visible in an archive or forwarded copy of the record. If the field needs to be accessible in an archive or a forwarded copy of the record, it is recommended that hiding the field be done via a Configurable Action or Event Hook and Hidden Outside Form.
  • When editing the field order, it is desirable to use increments of 10 or 20 (or more) so that a field may be later inserted between two existing fields in the ordering sequence.
  • CATSWeb ignores missing numeric values, and places the fields in ascending order given whatever non-zero values are present. Forms are always generated row by row, column by column, beginning in the upper left and finishing in the lower right.

A field may be used in several different forms, so there may be more than one Order field available. The field can be in the same position on each form, in different positions, or may not appear on some forms as desried.

  • Issues: Issue Order, Disposition Order, Query Order.
  • Actions: Action Order, Effectiveness Order, Query Order.
  • Subtasks: Subtask Order, Query Order.
  • Subforms: Subform Order, Query Order.

To edit the order parameters simultaneously across many fields, use the Edit Field Order button which appears near the top of the field definitions list. This form allows most order parameters to be modified, but not all.

  • Some fields require special processing and validation of the order settings (e.g. the dept/empl assignment pull-downs) and must be edited in the definition form for the individual field.

Subtask forms have a design quirk due to their child relationship to parent Actions. There are two hidden, non-changeable fields that appear at fixed order positions of 20 and 60.

  • One of them is a ParentTypeStr field which morphs to a "Parent Type" visible field at position 60. This is what gives the appearance that the field can't be moved. The real field does move, but the shadow field which morphs to a visible field with the same default caption doesn't move.

Here are guidelines for Subtask form designs which will make them look good:

  1. Reserve order positions 20-400 for system and hidden fields. Place no other fields in that order range except for the ones listed below.

  2. Place the following fields in that order range, preferably at the specific values shown:

    ParentType ("Parent Type") - 40
    ParentID ("Parent ID") - 80
    SourceDept ("From Dept") - 100
    UDUserCreated ("From Employee") - 200
    DateOpened ("Opened") - 300
    AssignmentDate ("Assigned") - 400

  3. Use values of 401 and above for normal fields.

  4. Use values of 19 and below, including negative numbers but excluding 0, for things like drill down buttons that you wish to place at the very top of the form.

Following these guidelines will insure that should we remove some of these odd fields that "clog things up" in future versions, there will be no overall visual impact on forms created in CATSWeb. The block of system/special fields in the 20-400 range would simply go away, and the normal fields would shift up to fill their spots."

List in Query/Pull-down In Query - By default, CATSWeb transforms selection lists to text boxes in the query form. This is to allow entry of wildcards, inequalities, multiple criteria, tokens, etc. in the query field. Checking this box causes a list to be used in queriy forms, thereby limiting the possible entries to the members of the list. The setting is ignored if the field is not bound to a list.

If the Multiple-select List option is installed, the Query List Style setting will determine the style of list. If that option is not installed, the list will be a pull-down list. Note that the caption for this setting may either be "List in Query" or "Pull-down In Query" depending on whether or not the Multiple-select List option is installed, and the original version of the CATSWeb system.

Quick Tip - Lists In Query Forms

It may seem like a convenience to the user to enable lists in query forms.  Experience has shown that users quickly outgrow this convenience and develop a thirst for power (wildcards, multiple criteria, etc.). If you elect to use lists in query forms, consider installing the Multi-select list option and specifying a multi-select list via the Query List Style setting.


Back to Top


Query List Style - This setting is only available for fields that are bound to lists, and only if the Multi-select Lists option has been installed. It specifies the style of the list in query forms, but only takes effect if the List in Query setting is also checked. See the Main List Style setting for more information on available options.

If the Multi-select List option is chosen, the selected items are returned to CATSWeb as a comma-delimited string. This means that they will be automatically OR-ed together when the query is executed, just as if the user had entered a comma-delimited list of values into a text field. Since saved queries always use memo fields to save the query parameters, the Multi-select List option may always be used, even if the associated table field is a short text field that would not be able to accommodate multiple selections in the data entry form.

Back to Top

Reload Button - Check this box to cause an iconic reload button () to appear next to the field. All reload buttons do the same thing: cause the current form contents to be returned to the server for possible processing by Intelligent Lists and Event Hooks. Enabling the iconic reload button to appear next to the field is a convenience to the user. In the special case of a Submit Button control, the reload button that appears is the full-sized reload button ().

Quick Tip - Fast Keyboard Data Entry

Placing a Reload Button next to a field can make data entry easier when Intelligent Lists or Event Hooks are in place. A user can make an entry in the field, hit Tab, then Enter, and this "clicks" the Reload button in most browsers. Tab shifts focus from the field to the button, and Enter clicks it.


Back to Top

Reload Options - This setting replaces the Reload Button setting when the Auto Reload option is installed. It specifies how a Reload event may be triggered from a form field. Reloading causes the current form contents to be returned to the server for possible processing by Intelligent Lists and Event Hooks. The available options are:
  • None - Self-explanatory.
  • Reload Button - An iconic Reload button is placed next to the field as described in the Reload Button setting above.
  • Auto-reload - Causes the Reload event to be triggered automatically when the field value is changed and the user shifts focus away from the field. When this option is selected, CATSWeb inserts a ECMAScript (a.k.a. JavaScript or JScript) event handler into the HTML field tag. Users that wish to make use of the capability must have scripting enabled in their Web browser. Since many people prefer to disable their browser's scripting support for security reasons, the Both option is generally a better choice, as it allows the iconic Reload button to be used in these situations.
  • Both - Combines the Reload Button and Auto-reload options described above.

Back to Top


Render HTML In View Mode - Check the box to cause HTML tags in field values to be rendered in View Mode. This check box is disabled and not displayed for dates, long integers, integers, single or double precision, currency, section breaks, fixed text areas, or text cell fields. Enabling this setting allows HTML tags to be entered manually from Edit mode, and automatically via data links, event hooks, default values, prefills, etc.

Back To Top

Section Break Text - This setting is used to specify the text that is actually displayed on the form by a Section Break. The Caption setting is used only for the listing of the field within the field definitions list.

System Mandatory - Specifies whether or not CATSWeb requires the field to be entered (non-editable). Table Field - The name that CATSWeb uses internally to refer to the field (non-editable). When the field is actually a control with no corresponding physical field in the underlying data table, this is referred to as Control Name.
  Text - This setting is used to specify the text that is actually displayed on the form by a Fixed Text Area field. The Caption setting is used only for the listing of the field within the field definitions list.

Text Color - This setting is only available for Section Break and Fixed Text Area controls. It specifies the text color used (black or white). Note the following:
  • This setting may be overriden by settings in the current Interface Preference (see the Form Section Breaks and Form Fixed Text Areas sections).
  • When a form is displaying in read-only (View) mode, this setting may or may not be used, depending on the Use Color in Read-only View setting.
Use Color in Read-only View - This setting is only available for Section Break and Fixed Text Area controls. It specifies whether or not the background color is used when a form is viewed in read-only mode. If color is not used, the background and text colors will be set according to the settings in the current Interface Preference for read-only fields and captions.
  Use Full Row - CATSWeb forms are organized in rows and columns. Checking this box causes the field to expand to fill all of the columns in its row. See also: Form Columns, Form Rows
  Validation Rule - Numeric and date fields may be given an optional validation rule which can assure that the value entered is in a specific range. Use of a validation rule will require that the field always has a value. It is similar to making a field mandatory, except that the field caption does not appear as a mandatory field. The validation rule is defined from the following operators:
> (greater than)
< (less than)
= (equal to)
<> (not equal to)
>= (greater than or equal to)
<= (less than or equal to)

The boolean operators "AND" and "OR" may also appear in the rule, but there can only be a single instance of "AND" or "OR" in a rule. A special token "{Today}" is available for rules that apply to date fields, and it enables the current date to be used in a rule.

If a validation rule is malformed or cannot be evaluated, it will be ignored. Here are several examples of validation rules:

Validation Rule Guarantees that...
>0 The numeric value is greater than 0 (zero).
>={Today} The date entered is the current date or a future date (greater or equal to today).
>-5 AND <5 The numeric value is between -5 and 5.
>=1/1/2000 AND <={today} The date is in the year 2000 or later, up to and including the current date.


NOTE: More sophisticated custom validation rules can be implemented via Event Hooks that use ActiveX DLL functions. These validation rules can operate on any field type, and can perform complex validations based on combinations of values submitted by the user, existing data values, etc. Here is an example of an ActiveX validation rule function.

Back to Top

Value Style Class - A drop down list of possible CSS styles. Requires CSS Interface Preference. This specifies the CSS class that will be used for style in the Field Value cell on the form. See Caption Style Class for the field caption.

Vertical Alignment - This setting is only available for Section Break and Fixed Text Area controls. It specifies the vertical alignment of text within the control (top-aligned, centered, or bottom-aligned). See also: Horizontal Alignment

Back to Top

Visible on Add - Check this box to make the field visible and available on forms when a new record is being added. This default setting may be overriden for particular users by defining a Field Access Restriction. The order settings for the field determine whether or not a field is present on a particular form (see Order Fields below). Fields that are not visible and have a non-zero order on a particular form will show up as an empty cell on the form. Note that if you designate a mandatory field to be invisible with a non-zero order, you must specify a default value, or implement an Event Hook to provide the value. If you do not, the user will not be able to save records that are added or edited via this form. A field will be visible on the read-only view of the form if either Visible on Add or Visible on Edit are checked.

NOTE: Because Disposition information is stored with the Issue record, and Effectiveness information is stored with the Action record, the Disposition and Effectiveness forms always operate in edit mode.
  Visible on Edit - Check this box to make the field visible and available on forms during edit mode. This default setting may be overriden for particular users by defining a Field Access Restriction. The order settings for the field determine whether or not a field is present on a particular form (see Order Fields below). Fields that are not visible and have a non-zero order on a particular form will show up as an empty cell on the form. A field will be visible on the read-only view of the form if either Visible on Add or Visible on Edit are checked.

NOTE: Because Disposition information is stored with the Issue record, and Effectiveness information is stored with the Action record, the Disposition and Effectiveness forms always operate in edit mode.
  Visible on View - Check this box to make the field visible and available on forms during view mode.
  Width - This setting is only available for memo fields. It specifies the width of the memo field in units of text columns.