<?php if ( ! defined( 'ABSPATH' ) ) exit;
return apply_filters( 'ninja_forms_field_settings', array(
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| The most commonly used settings for a field.
'label' => esc_html__( 'Label', 'ninja-forms'),
'help' => esc_html__( 'Enter the label of the form field. This is how users will identify individual fields.', 'ninja-forms' ),
'label' => esc_html__( 'Label Position', 'ninja-forms' ),
'label' => esc_html__( 'Form Default', 'ninja-forms' ),
'label' => esc_html__( 'Above Element', 'ninja-forms' ),
'label' => esc_html__( 'Below Element', 'ninja-forms' ),
'label' => esc_html__( 'Left of Element', 'ninja-forms' ),
'label' => esc_html__( 'Right of Element', 'ninja-forms' ),
'label' => esc_html__( 'Hidden', 'ninja-forms' ),
'help' => esc_html__( 'Select the position of your label relative to the field element itself.', 'ninja-forms' ),
'label' => esc_html__( 'Required Field', 'ninja-forms' ),
'help' => esc_html__( 'Ensure that this field is completed before allowing the form to be submitted.', 'ninja-forms' ),
'label' => esc_html__( 'Number Options', 'ninja-forms' ),
'label' => esc_html__( 'Min', 'ninja-forms' ),
'label' => esc_html__( 'Max', 'ninja-forms' ),
'label' => esc_html__( 'Step', 'ninja-forms' ),
'checkbox_default_value' => array(
'name' => 'default_value',
'label' => esc_html__( 'Default Value', 'ninja-forms' ),
'label' => esc_html__( 'Unchecked', 'ninja-forms' ),
'label' => esc_html__( 'Checked', 'ninja-forms'),
'checkbox_values' => array(
'name' => 'checkbox_values',
'label' => esc_html__( 'Checkbox Values', 'ninja-forms' ),
'name' => 'checked_value',
'label' => esc_html__( 'Checked Value', 'ninja-forms' ),
'value' => esc_textarea( __( 'Checked', 'ninja-forms' ) ),
'name' => 'unchecked_value',
'label' => esc_html__( 'Unchecked Value', 'ninja-forms' ),
'value' => esc_textarea( __( 'Unchecked', 'ninja-forms' ) ),
'list_orientation' => array(
'name' => 'list_orientation',
'type' => 'button-toggle',
array( 'label' => esc_html__( 'Horizontal', 'ninja-forms' ), 'value' => 'horizontal' ),
array( 'label' => esc_html__( 'Vertical', 'ninja-forms' ), 'value' => 'vertical' )
'label' => esc_html__( 'List Orientation', 'ninja-forms' ),
'label' => esc_html__( 'Number of Columns', 'ninja-forms'),
'list_orientation' => 'horizontal'
'allow_multi_select' => array(
'name' => 'allow_multi_select',
'label' => esc_html__( 'Allow Multiple Selections', 'ninja-forms' ),
'show_option_labels' => array(
'name' => 'show_option_labels',
'label' => esc_html__( 'Show Labels', 'ninja-forms' ),
'type' => 'option-repeater',
'label' => esc_html__( 'Options', 'ninja-forms' ) . ' <a href="#" class="nf-add-new">' . esc_html__( 'Add New', 'ninja-forms' ) . '</a> <a href="#" class="extra nf-open-import-tooltip"><i class="fa fa-sign-in" aria-hidden="true"></i> ' . esc_html__( 'Import', 'ninja-forms' ) . '</a>',
// 'value' => 'option-repeater',
array( 'label' => esc_html__( 'One', 'ninja-forms' ), 'value' => esc_textarea( __( 'one', 'ninja-forms' ) ), 'calc' => '', 'selected' => 0, 'order' => 0 ),
array( 'label' => esc_html__( 'Two', 'ninja-forms' ), 'value' => esc_textarea( __( 'two', 'ninja-forms' ) ), 'calc' => '', 'selected' => 0, 'order' => 1 ),
array( 'label' => esc_html__( 'Three', 'ninja-forms' ), 'value' => esc_textarea( __( 'three', 'ninja-forms' ) ), 'calc' => '', 'selected' => 0, 'order' => 2 ),
'header' => esc_html__( 'Label', 'ninja-forms' ),
'header' => esc_html__( 'Value', 'ninja-forms' ),
'header' => esc_html__( 'Calc Value', 'ninja-forms' ),
'header' => '<span class="dashicons dashicons-yes"></span>',
'image_options' => array(
'name' => 'image_options',
'type' => 'image-option-repeater',
'label' => esc_html__( 'Image Options', 'ninja-forms' ) . ' <a href="#" class="nf-add-new">' . esc_html__( 'Add New', 'ninja-forms' ) . '</a>',
// 'value' => 'option-repeater',
array( 'label' => '', 'image' => '', 'value' => '', 'image_id' => '', 'calc' => '', 'selected' => 0, 'order' => 0 ),
array( 'label' => '', 'image' => '', 'value' => '', 'image_id' => '', 'calc' => '', 'selected' => 0, 'order' => 1 ),
array( 'label' => '', 'image' => '', 'value' => '', 'image_id' => '', 'calc' => '', 'selected' => 0, 'order' => 2 ),
'header' => esc_html__( 'Label', 'ninja-forms' ),
'header' => esc_html__( 'Value', 'ninja-forms' ),
'header' => esc_html__( 'Calc Value', 'ninja-forms' ),
'header' => '<span class="dashicons dashicons-yes"></span>',
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Limit the behavior or validation of an input.
'label' => esc_html__( 'Input Mask', 'ninja-forms'),
'group' => 'restrictions',
'help' => esc_html__( 'Restricts the kind of input your users can put into this field.', 'ninja-forms' ),
'label' => esc_html__( 'none', 'ninja-forms' ),
'label' => esc_html__( 'US Phone', 'ninja-forms' ),
'value' => '(999) 999-9999',
'label' => esc_html__( 'Date', 'ninja-forms' ),
'label' => esc_html__( 'Currency', 'ninja-forms' ),
'label' => esc_html__( 'Custom', 'ninja-forms' ),
'label' => esc_html__( 'Custom Mask', 'ninja-forms'),
'group' => 'restrictions',
'help' => sprintf( '%s' . esc_html__( 'a - Represents an alpha character (A-Z,a-z) - Only allows letters to be entered.', 'ninja-forms' ) .
'%s' . esc_html__( '9 - Represents a numeric character (0-9) - Only allows numbers to be entered.', 'ninja-forms' ) .
'%s' . esc_html__( '* - Represents an alphanumeric character (A-Z,a-z,0-9) - This allows both numbers and letters to be entered.', 'ninja-forms' ) .
'%s', '<ul><li>', '</li><li>', '</li><li>', '</li></ul>' ),
'input_limit_set' => array(
'name' => 'input_limit_set',
'label' => esc_html__( 'Limit Input to this Number', 'ninja-forms' ),
'group' => 'restrictions',
'name' => 'input_limit_type',
'label' => esc_html__( 'Character(s)', 'ninja-forms' ),
'label' => esc_html__( 'Word(s)', 'ninja-forms' ),
'name' => 'input_limit_msg',
'label' => esc_html__( 'Text to Appear After Counter', 'ninja-forms' ),
'placeholder' => esc_attr__( 'Character(s) left', 'ninja-forms' ),
'value' => esc_textarea( __( 'Character(s) left', 'ninja-forms' ) )
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| The least commonly used settings for a field.
| These settings should only be used for specific reasons.
'custom_name_attribute' => array(
'name' => 'custom_name_attribute',
'label' => esc_html__( 'Custom Name Attribute', 'ninja-forms' ),
'help' => esc_html__( 'This value will be used as the HTML input "name" attribute.', 'ninja-forms' ),
'use_merge_tags' => FALSE,
'label' => esc_html__( 'Placeholder', 'ninja-forms' ),
'help' => esc_html__( 'Enter text you would like displayed in the field before a user enters any data.', 'ninja-forms' ),
'use_merge_tags' => FALSE,
'label' => esc_html__( 'Default Value', 'ninja-forms' ),
'use_merge_tags' => array(
'label' => esc_html__( 'Custom Class Names', 'ninja-forms' ),
'name' => 'container_class',
'label' => esc_html__( 'Container', 'ninja-forms' ),
'use_merge_tags' => FALSE,
'help' => esc_html__( 'Adds an extra class to your field wrapper.', 'ninja-forms' ),
'name' => 'element_class',
'label' => esc_html__( 'Element', 'ninja-forms' ),