Custom Field Type: Display - Text and Variables

From SmartWiki
Revision as of 15:16, 4 May 2009 by David (talk | contribs)

Jump to: navigation, search

Field Display

Cf44.png

General Description

This field type is similar to a web page view field and can contain HTML, text field references and expressions. Unlike a web page view field, there are no options to save the data.

Field Options

  • Display Order: The order (relative to other fields) in which this field is displayed
  • Tab Name: Displays the field under a given tab
  • Field Name: The name of the field, used internally to reference the user's input
  • Caption: The leading question or prologue before the field
  • Track Changes: Keeps track of changes made to this field

Special Options for Field

Variables – set this area to the content required.

Cf45.png

e.g. <script>var datestr='@parent.submission year@'; datestr=parseInt(datestr.substring(0,4)); document.write(datestr);</script>

The field in view mode is shown at the top of the page. The body combines text, HTML and variable references.

Services

  • Enable Map Service: displays the map icon next to the field name that will launch the user’s selected map service and display a map of the content of the field
  • Enable People Search Service: displays the search Internet icon next to the field name that will launch a variety of search services and display the contact details from those services
  • Enable Organization Search Service: displays the search Internet icon next to the field name that will launch a variety of search services and display the organisations details from those services

Field Formatting Options

  • Read Only: Checkbox
  • HTML Tag: Additional attributes to the field HTML tag
  • Visibility Condition: Conditions upon which the field is visible

Role - Field Permissions

These fields allow you to control who is allowed and who is denied viewing and/or modifying the field.

Notes

Nothing is stored to the database when this field type is used.