{i18n}Manage conditional fieldset{/i18n}

{i18n}Conditional fieldsets allow you to restrict the options a user has for values in some fields based on the values in other fields, allowing you to say that the values of one field are restricted to a certain subset of values if another field has a specific value. For example, you could say that if the field "Street" is "Jeffrey", then the field "Residents" must be one of "Jones","Smith" or "Friedman".{/i18n}

{* don't show warnings until the basics are done. *} {if ($oMasterField && empty($free_fields))} {if $sIncomplete}
{i18n}This conditional fieldset is marked such that it cannot be used. The system automatically checks whether the fieldset is useable, and if not it will prevent it being used in a "conditional" fashion. Please correct the issues identified below.{/i18n}
{/if} {if $sIncomplete}
{i18n}This error prevents this fieldset from being set to complete{/i18n}: {$sIncomplete}
{/if} {/if}

{i18n}View Overview{/i18n}

{i18n}Conditional type{/i18n}

{/if}

{i18n}Changing the conditional type set will remove all existing field ordering!{/i18n}

{if !$oMasterField}

{i18n}Master field{/i18n}

{i18n}No master field is set, please select the master field{/i18n}:
{entity_select entities=$oFieldset->getFields() name="fFieldId"}
{else}
{i18n}Master field{/i18n}

{i18n}In order to have a chain of conditions, one initial field must be shown to the user. This is called the master field.{/i18n}

{i18n}Changing the master field set will remove all existing field ordering!{/i18n}

{entity_select entities=$oFieldset->getFields() name="fFieldId" selected=$oMasterField->getId()}

{i18n}Field ordering{/i18n}

{if $aFieldOrders}

{i18n}Existing ordering{/i18n}

{/if} { if $free_fields }
{i18n}Order Fields{/i18n}

{i18n}The value of the field{/i18n}

{entity_select entities=$parent_fields name="fParentFieldId"}

{i18n}controls the values of the following fields{/i18n}

{entity_select entities=$free_fields name="fFreeFieldIds[]" multiple="yes"}
{/if} {/if}

{i18n}Rename Behaviours{/i18n}