Changes

Jump to: navigation, search

Custom Field Type: Select Many – Check Boxes

1,221 bytes added, 16:36, 23 November 2018
no edit summary
<u>==General Description==Displays as a set of check boxes in '''Field DisplayEdit'''</u>mode. The [[User|user]] can select multiple values. In '''View''' mode the values are displayed as text, semi-colon delimited. The # of columns option is used to define the number of columns required for display.
==Field Illustrated==[[Image:Cf_smcb_ex1.png|link=]]<br />'' '''Select Many - Check Boxes''' field, in '''Edit Mode''' (above)''
[[Image:Cf48.png]]
'''View Mode'''
[[Image:Cf49Cf_smcb_ex3.png|link=]] <ubr />'''General Description''Select Many - Check Boxes''' field, in '''View Mode''' (above)''</u>
Displays as a set of check boxes in '''Edit''' mode. The [[User|user]] can select multiple values. In '''View''' mode the values are displayed as text, semi-colon delimited. The # of columns option is used to define the number of columns required for display.
<u>'''Field Options'''</u>
* '''Allow Empty'''[[Image: Yes* '''Default Text''': NCf_smcb_ex2.png|link=]]<br /A>* '''Options'Setting the values for the '': Values* 'Select Many - Check Boxes''Track Changes'field, in '': Yes* ''General Settings'Store To Value''(above)': Yes <u>'''Special Options for Field'''</u>
'''# Columns''' – determines the number of columns to be used for display purposes.
'''Values''' – the values to be used for each check box delimited by a semi-colon with no spaces.
<u>'''Field Validation'''</u>
'''Type''': N/A
'''JavaScript Validation''': N/A
'''Message''': N/A
'''HTML Tag''': N/A
<u>'''Field Formatting Options'''</u>
* '''Height'''==Field Options==All common options: N<br /A '''Measure''': Characters '''Default''': N>[[Custom Fields - General Information #General_Settings|General Settings]]<br /A>* '''Width''': N[[Custom Fields - General Information #Role Field Permissions and Status Field Permissions|Permissions & Availability]]<br /A '''Measure''': Characters '''Default''': N>[[Custom Fields - General Information #Classic Options|Classic Options]]<br /A>* '''Number Format''': NFor further information, please refer to [[Custom Fields – General Information]].<br /><br /A>* '''Style''': YesOptions listed below are specific to this particular field type.* '''Tool Tip''': Yes {{ParentField}}
* '''Predefined Options''': The values to be used for each checkbox, delimited by a semicolon with no spaces. {{SortValuesToDisplayVertically}}* '''Enable as Attributes''' - ==Notes==If you want the value(s) ''stored'' in the field to be different from what is ''displayed'' beside the check boxes you can use the following syntax in the '''Values''' section:  ''StoreValue1=DisplayValue1;StoreValue2=DisplayValue2;StoreValue3=DisplayValue3; The value '''before''' the equal sign will be stored. The value '''after''' the equal sign is what will be displayed by each check box, but does not get saved. * This technique is important when translating to other languages. The '''StoreValue''' must be the same in all languages. See [[Custom Field Language Settings|here]] for further information.  '''<u>Referencing the Value</u>''' When trying to reference the values of this custom field type, you must use '''@fieldname.value@''' when the values in the combo box are 1=Yes;2=No;3=Maybe. Using @fieldname.value@ will return the 1, 2, or 3. {{RetiredOptions}} ==See Also==* [[Select Check Boxes by Default]]* [[Allowing Only One Check Box to be Selected]]* [[Category:Custom FieldsField Language Settings]]  {{CustomFieldPageFooter}}
Smartstaff, administrator
421
edits

Navigation menu