Difference between revisions of "Custom Field Type: Text Box– Text Single Line"

From SmartWiki
Jump to: navigation, search
m
m
Line 7: Line 7:
 
* '''Allow Empty''': Yes
 
* '''Allow Empty''': Yes
 
* '''Captions''': User defined
 
* '''Captions''': User defined
* '''Default Text''': Yes
+
* '''Default Text''': Yes (Note: you can refer to [[Web Page View Field Variables|variables]] as part of the ''Default Text'' as explained in [[Using Variables as Default Values in Single Line and Multi-line Text Box Custom Fields|this article]])
 
* '''Options''': Default Text
 
* '''Options''': Default Text
 
* '''Track Changes''': Yes
 
* '''Track Changes''': Yes
Line 41: Line 41:
 
* '''Style''': Yes
 
* '''Style''': Yes
 
* '''Tool Tip''': Yes
 
* '''Tool Tip''': Yes
 +
 +
 
 
 
[[Category:Custom Fields]]
 
[[Category:Custom Fields]]

Revision as of 12:59, 26 February 2009

General Description

A single line of text.

Field Options

  • Allow Empty: Yes
  • Captions: User defined
  • Default Text: Yes (Note: you can refer to variables as part of the Default Text as explained in this article)
  • Options: Default Text
  • Track Changes: Yes
  • Store To Value: Yes

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