Custom Field Type: Text Box– Text Single Line

From SmartWiki
Revision as of 16:35, 22 April 2009 by Cameron (talk | contribs)

Jump to: navigation, search

General Description

A single line of text.

Field Options

  • Allow Empty: Yes
  • Captions: User defined
  • Default Text: Yes
  • Options: Default Text
  • Track Changes: Yes
  • Store To Value: Yes

You can refer to variables as part of the Default Text as explained in this article

You can also hide the caption on the field so that only the text entry box appears:

Custom field step 1.JPG

The result of the custom field will be:

Custom field step 2.JPG

Special Options for Field

None.

Field Validation

  • Type: Date, Numeric, Alphabetic
  • JavaScript Validation: Yes
  • Message: Yes
  • HTML Tag: Yes

To turn a text box into a read only box, you can use HTML. Insert the following (readonly class=textreadonly) into the HTML tag:
Read only single line.JPG

Field Formatting Options

  • Height: N/A Measure: Default:
  • Width: Yes Measure: Characters Default: N/A
  • Number Format: N/A
  • Style: Yes
  • Tool Tip: Yes

See also: Changing Text to Uppercase or Lowercase