Difference between revisions of "Deprecated - Custom Field Type: Select One - User Group"

From SmartWiki
Jump to: navigation, search
Line 36: Line 36:
  
 
==Notes==
 
==Notes==
'''<u>Allow Empty</u>'''
+
'''[[Variables]]'''
 
+
* Details of the members of the group can be referenced using the following syntax:
Because the values in a Combo Box [[Custom Field]] are restricted to the semi-colon delimited list in the '''Values''' field, the '''Allow Empty''' field has a slightly different behaviour than usual. It controls whether or not the record can be saved with the default value (which is the first value listed in the '''Values''' section):
+
:<font size="3">'''[#(?object=group;id=@''fieldname''@;) ... #]'''</font>
* If '''Allow Empty''' is checked, the record '''can''' be saved with the default value.
 
 
 
* If '''Allow Empty''' is '''not''' checked, the record '''cannot''' be saved with the default value. In this way you can force the user to select a value different from the default value.
 
  
 +
'''Where:'''
 +
* ''fieldname'' is the name of the '''Select One - User Group''' field.
 +
* Replace "..." with the contact [[variables]] you with to display.
  
  
 +
'''Example:'''
 +
:[[Image:GpFieldList.png]]
  
:[[Image:GpFieldList.png]]
 
  
<pre>
+
:[[Image:GpRO.png]]
<table border="1" cellpadding=5pt>
 
[#(?object=group;id=@Team@;) <tr><td>Name: ~firstname~ ~lastname~</td>
 
                                <td>Title: ~title~</td>
 
                                <td>Phone: ~phone~</td>
 
                                <td>Role: ~role~</td></tr>#]
 
</table>
 
</pre>
 
  
 
:[[Image:GroupDisplay.png]]
 
:[[Image:GroupDisplay.png]]

Revision as of 13:14, 20 May 2010

Field Display

Edit Mode

GpEdit.png

View Mode

GpView.png

General Description

Displays a list of User Groups in a combo box. The user can select a single value.


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


Field Formatting Options

Role - Field Permissions

These fields allow you to control by Role who is allowed to view and/or modify the field.

Status - Field Permissions

These fields allow you to control by the Status of the record whether or not the field can be viewed and/or modified.

Notes

Variables

  • Details of the members of the group can be referenced using the following syntax:
[#(?object=group;id=@fieldname@;) ... #]

Where:

  • fieldname is the name of the Select One - User Group field.
  • Replace "..." with the contact variables you with to display.


Example:

GpFieldList.png


GpRO.png
GroupDisplay.png


See Also