Custom fields store the information an organization captures on SmartSimple entities such as contacts, organizations, roles, and activities. Global administrators use custom fields to reach the custom fields list, find and filter existing fields, edit a field, import and export fields between entities or instances, and apply a script that changes entered text to uppercase or lowercase. For field-level definitions of every setting, see Custom Field Settings Reference.
Who: Global administrators
When to Use Custom Fields
Configure custom fields when:
- A new entity needs fields to capture information that standard fields do not cover.
- An existing custom field must be updated, for example to change its caption, display order, or permissions.
- A set of fields needs to be reused on another entity or moved to a different SmartSimple instance.
- Entered text must be standardized to uppercase or lowercase automatically.
Access the Configuration Page for Custom Fields
Navigation to the Custom Field configuration page depends on the record type.
UTA/module Level 1, 2, or 3
To access the Custom Field configuration page for a UTA/module Level 1, Level 2, or Level 3 record type:
- Click the Menu icon in the upper navigation bar, and then select the relevant UTA/module from the Applications drop-down menu.
- Click the Configuration Settings gear.
- Click the Level 1, Level 2, or Level 3 tab.
- Locate the General Settings section, and click Custom Fields.
- Click the New Field [+] button to create a new Custom Field.
- Click the edit [pencil] icon to edit an existing Custom Field.
- See Custom Fields Settings Reference for field level definitions.
Organizations, Users, Associations, and Transactions
To access the Custom Field configuration page for Organizations, Users, Associations, and Transactions:
- Click the System Administration gear in the upper navigation bar, select Global Settings from the drop-down menu, and click the Organizations, Users, Associations, or Transactions tab.
- Locate the General Settings section, and click Custom Fields.
- Click the New Field [+] button to create a new Custom Field.
- Click the edit [pencil] icon to edit an existing Custom Field.
- See Custom Fields Settings Reference for field level definitions.
Import and Export Custom Fields
The Import and Export features transfer or duplicate custom fields between entities or between different SmartSimple instances. Custom fields are exported and imported in XML format.
To export and then import custom fields:
- Navigate to the custom fields list for the applicable entity.
- Click the Export button at the top of the list.
- A User Custom Fields window displays the custom field settings in XML format.
- Click Copy.
- The block can be edited in a text editor, for example to adjust display order.
- Open the target custom fields list, and then click the Import button.
- An Import Custom Fields window opens.
- Click the text box, paste the XML block into the text area, and then click Import.
Custom field IDs are unique within the system, so they are not copied. Newly created fields receive new IDs.
Change Field Text to Uppercase or Lowercase
A script added to the Custom HTML Tag box can change the case of text a user enters in a custom field. The script runs as soon as the user enters a value and clicks outside the field, without requiring a save.
Example
To convert entered text to uppercase, add the following to the Custom HTML Tag box:
onChange="this.value=this.value.toUpperCase();"
Example
To convert entered text to lowercase:
onChange="this.value=this.value.toLowerCase();"
Example
The onBlur event can be used instead of onChange:
onblur="this.value=this.value.toUpperCase()"
- onBlur triggers when focus moves away from the current field.
- onChange triggers when the content of the field has changed.