{* +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2015 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | | CiviCRM is free software; you can copy, modify, and distribute it | | under the terms of the GNU Affero General Public License | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | | | CiviCRM is distributed in the hope that it will be useful, but | | WITHOUT ANY WARRANTY; without even the implied warranty of | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | See the GNU Affero General Public License for more details. | | | | You should have received a copy of the GNU Affero General Public | | License and the CiviCRM Licensing Exception along | | with this program; if not, contact CiviCRM LLC | | at info[AT]civicrm[DOT]org. If you have questions about the | | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {* Included in Custom/Form/Field.tpl - used for fields with multiple choice options. *} {$form.option_type.label} {$form.option_type.html}
{ts}You can create new multiple choice options for this field, or select an existing set of options which you've already created for another custom field.{/ts} {$form.option_group_id.label} {$form.option_group_id.html}
{ts}Multiple Choice Options{/ts} {ts}Enter up to ten (10) multiple choice options in this table (click 'another choice' for each additional choice). If you need more than ten options, you can create an unlimited number of additional choices using the Edit Multiple Choice Options link after saving this new field. If desired, you can mark one of the choices as the default choice. The option 'label' is displayed on the form, while the option 'value' is stored in the contact record. The label and value may be the same or different. Inactive options are hidden when the field is presented.{/ts} {strip} {section name=rowLoop start=1 loop=12} {assign var=index value=$smarty.section.rowLoop.index} {/section}
  {ts}Default{/ts} {ts}Label{/ts} {ts}Value{/ts} {ts}Order{/ts} {ts}Active?{/ts}
{if $index GT 1} {ts}hide field or section{/ts} {/if} {$form.option_label.$index.html} {$form.option_value.$index.html} {$form.option_weight.$index.html} {$form.option_status.$index.html}
{ts}If you need additional options - you can add them after you Save your current entries.{/ts} {/strip}