Changes

Jump to: navigation, search

Custom Field Type: Special – Barcode

341 bytes added, 20:15, 18 February 2016
no edit summary
[[File:PlayingCard-Barcode-6d.jpg|thumb|150px|Click [http://www.smartsimple.com/images/customfield/cards.html here] to peruse our selection of custom fields.]]
 
==Field Display==
[[Image:BarcCode2.PNG]]
''In this image the Barcode custom field is displaying the value in the '''Ticket Number''' field as a barcode.''
==General Description==
This field type converts another field's value (numeric or alphanumeric depends on the coding system selected) into a barcode image.
 
==Field Display==
[[Image:BarcCode2.PNG]]
''In this image the Barcode custom field is displaying the value in the '''Ticket Number''' field as a barcode.''
{{FieldOptions}}
* '''Values''': Used to specify the Custom ID, Code Type, Source Text, and Width of the barcode you wish to generate. Additional details located in the '''Values''' located below.
{{LabelAboveField}}
{{ToolTip}}
{{SmartFieldView}}
={{OptionsTab}}{{EnableMultipleSelect}}{{DisableFromGlobalSearch}} {{Formatting}}* '''Height''': Enables the user to set the height of the field in pixels.* '''Width''': Enables the user to set the width of the field in pixels. ==Values===
The '''Values''' field is used to specify:
* The Custom Field ID of the field that contains the integer or text string you wish to have converted to a barcode.
* The width of the barcode.
<u>===Usage:</u>===
'''customfieldid,codetype,showtext,width'''
<u>===Values Options:</u>===
* '''customfieldid''' = the Custom Field ID of the field that stores the source value.
* '''codetype'''= can be any of the Code Types listed below. If none is provided the default is CODABAR (which only accepts integer values)
ONECODE, POSTNET, PLANET, RM4SCC,
UPCA, UPCA_2, UPCA_5, UPCE, UPCE_2, UPCE_5
::'''Note:''' Many of the Code Types listed above have strictly defined rules about the number of digits, location of alphanumeric characters etc. :::''For example: EAN13 requires 13 integers; RM4SCC is for UK Postal Codes, and cannot have any spaces.'':::If the Custom Field you are using as the source does not meet the requirements no barcode will be displayed.
* '''showtext''' = whether or not to show the text underneath the barcode. Can be ''yes'' or ''no''. The default is ''yes''.
* '''width''' = The width of bars. The default value is 1.
 
'''Notes on Code Types'''
Many of the Code Types listed above have strictly defined rules about the number of digits, location of alphanumeric characters etc.
:::''For example: EAN13 requires 13 integers; RM4SCC is for UK Postal Codes, and cannot have any spaces.''
:::If the Custom Field you are using as the source does not meet the requirements no barcode will be displayed.
==Value field Examples for the '''Values''' field:=={| borderclass="1wikitable"
|-
|'''Value''' || '''Interpreted As'''
|}
===Height=Notes==
The '''Height''' of the barcode image can adjusted by the height settings of the [[Custom Field]].
(The '''Width''' is controlled by the '''Values''' section as described above).
<br><br>
{{VisibilityCondition}}
{{FieldPermissionMatrix}}
{{FieldFormattingOptions}}
{{FieldPermissions}}
 
{{CFPermissionsTab}}
{{CustomFieldPageFooter}}
2,004
edits

Navigation menu