Difference between revisions of "Custom Field Type: Display - Text and Variables"

From SmartWiki
Jump to: navigation, search
m
 
(29 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<u>'''Field Display'''</u>
+
{{ Banner-UnderConstruction }}
  
[[Image:Cf44.png]]
 
 
<u>'''General Description'''</u>
 
  
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.
+
==General Description==
+
This field type can contain HTML, text field references, variables and expressions.
<u>'''Field Options'''</u>
 
  
* '''Allow Empty''': N/A
+
==Field Illustrated==
* '''Default Text''': N/A
+
<!--[[Image:Cf_rosv_ex2.png]]<br />
* '''Options''': Variables
+
''A '''Display - Text and Variables''' displayed. The body combines text, HTML and variable references. (above)''
* '''Track Changes''': Yes
 
* '''Store To Value''': No
 
 
<u>'''Special Options for Field'''</u>
 
  
'''Variables''' – set this area to the content required.
 
 
[[Image:Cf45.png]]
 
  
The field in '''view''' mode is shown at the top of the page. The body combines text, HTML and variable references.
+
[[Image:Cf_rosv_ex1.png]]<br />
+
''A '''Display - Text and Variables''' is shown with text in the Variables field. (above)''-->
<u>'''Field Validation'''</u>
+
==Field Options==
 +
All common options:<br />
 +
[[Custom Fields - General Information #General_Settings|General Settings]]<br />
 +
[[Custom Fields - General Information #Role Field Permissions and Status Field Permissions|Permissions & Availability]]<br />
 +
[[Custom Fields - General Information #Classic Options|Classic Options]]<br />
 +
For further information, please refer to [[Custom Fields – General Information]].<br /><br />
 +
Options listed below are specific to this particular field type.
  
* '''Type''': N/A
+
==Notes==
* '''JavaScript Validation''': N/A
+
* Nothing is stored to the database when this field type is used.
<pre>
+
* This field type will only function when viewing its parent entity directly or through a list view (for example, this field will '''not''' function when used in Display Only – Web Page View custom fields or Workflow messages).
e.g. <script>var datestr='@parent.submission year@'; datestr=parseInt(datestr.substring(0,4)); document.write(datestr);</script>
 
</pre>
 
  
* '''Message''': N/A
+
==See Also==
* '''HTML Tag''': N/A
+
* [[Variables]]
 
<u>'''Field Formatting Options'''</u>
 
  
'''Height''': N/A '''Measure''': '''Default''':
+
{{CustomFieldPageFooter}}
'''Width''': N/A '''Measure''': '''Default''':
 
'''Number Format''': N/A
 
'''Style''': N/A
 
'''Tool Tip''': N/A
 
 
<u>'''Notes'''</u>
 
 
 
Nothing is stored to the database when this field type is used.
 
 
 
[[Category:Custom Fields]][[Category:Browser Scripts]]
 

Latest revision as of 11:23, 21 June 2019


Construction warning.png Please note that this page is currently under construction. There is more information to come.


General Description

This field type can contain HTML, text field references, variables and expressions.

Field Illustrated

Field Options

All common options:
General Settings
Permissions & Availability
Classic Options
For further information, please refer to Custom Fields – General Information.

Options listed below are specific to this particular field type.

Notes

  • Nothing is stored to the database when this field type is used.
  • This field type will only function when viewing its parent entity directly or through a list view (for example, this field will not function when used in Display Only – Web Page View custom fields or Workflow messages).

See Also