Edit File by line
/home/barbar84/www/wp-conte.../plugins/ninja-fo.../includes/Config
File: FieldSettings.php
<?php if ( ! defined( 'ABSPATH' ) ) exit;
[0] Fix | Delete
[1] Fix | Delete
return apply_filters( 'ninja_forms_field_settings', array(
[2] Fix | Delete
[3] Fix | Delete
/*
[4] Fix | Delete
|--------------------------------------------------------------------------
[5] Fix | Delete
| Primary Settings
[6] Fix | Delete
|--------------------------------------------------------------------------
[7] Fix | Delete
|
[8] Fix | Delete
| The most commonly used settings for a field.
[9] Fix | Delete
|
[10] Fix | Delete
*/
[11] Fix | Delete
[12] Fix | Delete
/*
[13] Fix | Delete
* LABEL
[14] Fix | Delete
*/
[15] Fix | Delete
[16] Fix | Delete
'label' => array(
[17] Fix | Delete
'name' => 'label',
[18] Fix | Delete
'type' => 'textbox',
[19] Fix | Delete
'label' => esc_html__( 'Label', 'ninja-forms'),
[20] Fix | Delete
'width' => 'one-half',
[21] Fix | Delete
'group' => 'primary',
[22] Fix | Delete
'value' => '',
[23] Fix | Delete
'help' => esc_html__( 'Enter the label of the form field. This is how users will identify individual fields.', 'ninja-forms' ),
[24] Fix | Delete
),
[25] Fix | Delete
[26] Fix | Delete
/*
[27] Fix | Delete
* LABEL POSITION
[28] Fix | Delete
*/
[29] Fix | Delete
[30] Fix | Delete
'label_pos' => array(
[31] Fix | Delete
'name' => 'label_pos',
[32] Fix | Delete
'type' => 'select',
[33] Fix | Delete
'label' => esc_html__( 'Label Position', 'ninja-forms' ),
[34] Fix | Delete
'options' => array(
[35] Fix | Delete
array(
[36] Fix | Delete
'label' => esc_html__( 'Form Default', 'ninja-forms' ),
[37] Fix | Delete
'value' => 'default'
[38] Fix | Delete
),
[39] Fix | Delete
array(
[40] Fix | Delete
'label' => esc_html__( 'Above Element', 'ninja-forms' ),
[41] Fix | Delete
'value' => 'above'
[42] Fix | Delete
),
[43] Fix | Delete
array(
[44] Fix | Delete
'label' => esc_html__( 'Below Element', 'ninja-forms' ),
[45] Fix | Delete
'value' => 'below'
[46] Fix | Delete
),
[47] Fix | Delete
array(
[48] Fix | Delete
'label' => esc_html__( 'Left of Element', 'ninja-forms' ),
[49] Fix | Delete
'value' => 'left'
[50] Fix | Delete
),
[51] Fix | Delete
array(
[52] Fix | Delete
'label' => esc_html__( 'Right of Element', 'ninja-forms' ),
[53] Fix | Delete
'value' => 'right'
[54] Fix | Delete
),
[55] Fix | Delete
array(
[56] Fix | Delete
'label' => esc_html__( 'Hidden', 'ninja-forms' ),
[57] Fix | Delete
'value' => 'hidden'
[58] Fix | Delete
),
[59] Fix | Delete
),
[60] Fix | Delete
'width' => 'one-half',
[61] Fix | Delete
'group' => 'advanced',
[62] Fix | Delete
'value' => 'default',
[63] Fix | Delete
'help' => esc_html__( 'Select the position of your label relative to the field element itself.', 'ninja-forms' ),
[64] Fix | Delete
[65] Fix | Delete
),
[66] Fix | Delete
[67] Fix | Delete
/*
[68] Fix | Delete
* REQUIRED
[69] Fix | Delete
*/
[70] Fix | Delete
[71] Fix | Delete
'required' => array(
[72] Fix | Delete
'name' => 'required',
[73] Fix | Delete
'type' => 'toggle',
[74] Fix | Delete
'label' => esc_html__( 'Required Field', 'ninja-forms' ),
[75] Fix | Delete
'width' => 'one-half',
[76] Fix | Delete
'group' => 'primary',
[77] Fix | Delete
'value' => FALSE,
[78] Fix | Delete
'help' => esc_html__( 'Ensure that this field is completed before allowing the form to be submitted.', 'ninja-forms' ),
[79] Fix | Delete
),
[80] Fix | Delete
[81] Fix | Delete
/*
[82] Fix | Delete
* NUMBER
[83] Fix | Delete
*/
[84] Fix | Delete
[85] Fix | Delete
'number' => array(
[86] Fix | Delete
'name' => 'number',
[87] Fix | Delete
'type' => 'fieldset',
[88] Fix | Delete
'label' => esc_html__( 'Number Options', 'ninja-forms' ),
[89] Fix | Delete
'width' => 'full',
[90] Fix | Delete
'group' => 'primary',
[91] Fix | Delete
'settings' => array(
[92] Fix | Delete
array(
[93] Fix | Delete
'name' => 'num_min',
[94] Fix | Delete
'type' => 'number',
[95] Fix | Delete
'placeholder' => '',
[96] Fix | Delete
'label' => esc_html__( 'Min', 'ninja-forms' ),
[97] Fix | Delete
'width' => 'one-third',
[98] Fix | Delete
'value' => ''
[99] Fix | Delete
),
[100] Fix | Delete
array(
[101] Fix | Delete
'name' => 'num_max',
[102] Fix | Delete
'type' => 'number',
[103] Fix | Delete
'label' => esc_html__( 'Max', 'ninja-forms' ),
[104] Fix | Delete
'placeholder' => '',
[105] Fix | Delete
'width' => 'one-third',
[106] Fix | Delete
'value' => ''
[107] Fix | Delete
),
[108] Fix | Delete
array(
[109] Fix | Delete
'name' => 'num_step',
[110] Fix | Delete
'type' => 'textbox',
[111] Fix | Delete
'label' => esc_html__( 'Step', 'ninja-forms' ),
[112] Fix | Delete
'placeholder' => '',
[113] Fix | Delete
'width' => 'one-third',
[114] Fix | Delete
'value' => 1
[115] Fix | Delete
),
[116] Fix | Delete
),
[117] Fix | Delete
[118] Fix | Delete
),
[119] Fix | Delete
[120] Fix | Delete
/*
[121] Fix | Delete
* Checkbox Default Value
[122] Fix | Delete
*/
[123] Fix | Delete
[124] Fix | Delete
'checkbox_default_value' => array(
[125] Fix | Delete
'name' => 'default_value',
[126] Fix | Delete
'type' => 'select',
[127] Fix | Delete
'label' => esc_html__( 'Default Value', 'ninja-forms' ),
[128] Fix | Delete
'options' => array(
[129] Fix | Delete
array(
[130] Fix | Delete
'label' => esc_html__( 'Unchecked', 'ninja-forms' ),
[131] Fix | Delete
'value' => 'unchecked'
[132] Fix | Delete
),
[133] Fix | Delete
array(
[134] Fix | Delete
'label' => esc_html__( 'Checked', 'ninja-forms'),
[135] Fix | Delete
'value' => 'checked',
[136] Fix | Delete
),
[137] Fix | Delete
),
[138] Fix | Delete
'width' => 'one-half',
[139] Fix | Delete
'group' => 'primary',
[140] Fix | Delete
'value' => 'unchecked',
[141] Fix | Delete
[142] Fix | Delete
),
[143] Fix | Delete
[144] Fix | Delete
/*
[145] Fix | Delete
* Checkbox Values
[146] Fix | Delete
*/
[147] Fix | Delete
'checkbox_values' => array(
[148] Fix | Delete
'name' => 'checkbox_values',
[149] Fix | Delete
'type' => 'fieldset',
[150] Fix | Delete
'label' => esc_html__( 'Checkbox Values', 'ninja-forms' ),
[151] Fix | Delete
'width' => 'full',
[152] Fix | Delete
'group' => 'primary',
[153] Fix | Delete
'settings' => array(
[154] Fix | Delete
array(
[155] Fix | Delete
'name' => 'checked_value',
[156] Fix | Delete
'type' => 'textbox',
[157] Fix | Delete
'label' => esc_html__( 'Checked Value', 'ninja-forms' ),
[158] Fix | Delete
'value' => esc_textarea( __( 'Checked', 'ninja-forms' ) ),
[159] Fix | Delete
'width' => 'one-half',
[160] Fix | Delete
),
[161] Fix | Delete
array(
[162] Fix | Delete
'name' => 'unchecked_value',
[163] Fix | Delete
'type' => 'textbox',
[164] Fix | Delete
'label' => esc_html__( 'Unchecked Value', 'ninja-forms' ),
[165] Fix | Delete
'value' => esc_textarea( __( 'Unchecked', 'ninja-forms' ) ),
[166] Fix | Delete
'width' => 'one-half',
[167] Fix | Delete
),
[168] Fix | Delete
),
[169] Fix | Delete
),
[170] Fix | Delete
[171] Fix | Delete
/*
[172] Fix | Delete
* List Display Style
[173] Fix | Delete
*/
[174] Fix | Delete
'list_orientation' => array(
[175] Fix | Delete
'name' => 'list_orientation',
[176] Fix | Delete
'type' => 'button-toggle',
[177] Fix | Delete
'width' => 'full',
[178] Fix | Delete
'group' => 'primary',
[179] Fix | Delete
'options' => array(
[180] Fix | Delete
array( 'label' => esc_html__( 'Horizontal', 'ninja-forms' ), 'value' => 'horizontal' ),
[181] Fix | Delete
array( 'label' => esc_html__( 'Vertical', 'ninja-forms' ), 'value' => 'vertical' )
[182] Fix | Delete
),
[183] Fix | Delete
'label' => esc_html__( 'List Orientation', 'ninja-forms' ),
[184] Fix | Delete
'value' => 'horizontal',
[185] Fix | Delete
),
[186] Fix | Delete
[187] Fix | Delete
/*
[188] Fix | Delete
* Max Columns
[189] Fix | Delete
*/
[190] Fix | Delete
'num_columns' => array(
[191] Fix | Delete
'name' => 'num_columns',
[192] Fix | Delete
'type' => 'number',
[193] Fix | Delete
'label' => esc_html__( 'Number of Columns', 'ninja-forms'),
[194] Fix | Delete
'width' => 'one-half',
[195] Fix | Delete
'group' => 'primary',
[196] Fix | Delete
'value' => 3,
[197] Fix | Delete
'deps' => array(
[198] Fix | Delete
'list_orientation' => 'horizontal'
[199] Fix | Delete
),
[200] Fix | Delete
),
[201] Fix | Delete
[202] Fix | Delete
/*
[203] Fix | Delete
* Allow multi-select
[204] Fix | Delete
*/
[205] Fix | Delete
'allow_multi_select' => array(
[206] Fix | Delete
'name' => 'allow_multi_select',
[207] Fix | Delete
'type' => 'toggle',
[208] Fix | Delete
'label' => esc_html__( 'Allow Multiple Selections', 'ninja-forms' ),
[209] Fix | Delete
'width' => 'one-half',
[210] Fix | Delete
'group' => 'primary',
[211] Fix | Delete
'value' => FALSE,
[212] Fix | Delete
),
[213] Fix | Delete
[214] Fix | Delete
/*
[215] Fix | Delete
* Show option labels
[216] Fix | Delete
*/
[217] Fix | Delete
'show_option_labels' => array(
[218] Fix | Delete
'name' => 'show_option_labels',
[219] Fix | Delete
'type' => 'toggle',
[220] Fix | Delete
'label' => esc_html__( 'Show Labels', 'ninja-forms' ),
[221] Fix | Delete
'width' => 'one-half',
[222] Fix | Delete
'group' => 'primary',
[223] Fix | Delete
'value' => TRUE,
[224] Fix | Delete
),
[225] Fix | Delete
[226] Fix | Delete
/*
[227] Fix | Delete
* OPTIONS
[228] Fix | Delete
*/
[229] Fix | Delete
[230] Fix | Delete
'options' => array(
[231] Fix | Delete
'name' => 'options',
[232] Fix | Delete
'type' => 'option-repeater',
[233] Fix | Delete
'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>',
[234] Fix | Delete
'width' => 'full',
[235] Fix | Delete
'group' => 'primary',
[236] Fix | Delete
// 'value' => 'option-repeater',
[237] Fix | Delete
'value' => array(
[238] Fix | Delete
array( 'label' => esc_html__( 'One', 'ninja-forms' ), 'value' => esc_textarea( __( 'one', 'ninja-forms' ) ), 'calc' => '', 'selected' => 0, 'order' => 0 ),
[239] Fix | Delete
array( 'label' => esc_html__( 'Two', 'ninja-forms' ), 'value' => esc_textarea( __( 'two', 'ninja-forms' ) ), 'calc' => '', 'selected' => 0, 'order' => 1 ),
[240] Fix | Delete
array( 'label' => esc_html__( 'Three', 'ninja-forms' ), 'value' => esc_textarea( __( 'three', 'ninja-forms' ) ), 'calc' => '', 'selected' => 0, 'order' => 2 ),
[241] Fix | Delete
),
[242] Fix | Delete
'columns' => array(
[243] Fix | Delete
'label' => array(
[244] Fix | Delete
'header' => esc_html__( 'Label', 'ninja-forms' ),
[245] Fix | Delete
'default' => '',
[246] Fix | Delete
),
[247] Fix | Delete
[248] Fix | Delete
'value' => array(
[249] Fix | Delete
'header' => esc_html__( 'Value', 'ninja-forms' ),
[250] Fix | Delete
'default' => '',
[251] Fix | Delete
),
[252] Fix | Delete
'calc' => array(
[253] Fix | Delete
'header' => esc_html__( 'Calc Value', 'ninja-forms' ),
[254] Fix | Delete
'default' => '',
[255] Fix | Delete
),
[256] Fix | Delete
'selected' => array(
[257] Fix | Delete
'header' => '<span class="dashicons dashicons-yes"></span>',
[258] Fix | Delete
'default' => 0,
[259] Fix | Delete
),
[260] Fix | Delete
),
[261] Fix | Delete
[262] Fix | Delete
),
[263] Fix | Delete
[264] Fix | Delete
/*
[265] Fix | Delete
* IMAGE OPTIONS
[266] Fix | Delete
*/
[267] Fix | Delete
[268] Fix | Delete
'image_options' => array(
[269] Fix | Delete
'name' => 'image_options',
[270] Fix | Delete
'type' => 'image-option-repeater',
[271] Fix | Delete
'label' => esc_html__( 'Image Options', 'ninja-forms' ) . ' <a href="#" class="nf-add-new">' . esc_html__( 'Add New', 'ninja-forms' ) . '</a>',
[272] Fix | Delete
'width' => 'full',
[273] Fix | Delete
'group' => 'primary',
[274] Fix | Delete
// 'value' => 'option-repeater',
[275] Fix | Delete
'value' => array(
[276] Fix | Delete
array( 'label' => '', 'image' => '', 'value' => '', 'image_id' => '', 'calc' => '', 'selected' => 0, 'order' => 0 ),
[277] Fix | Delete
array( 'label' => '', 'image' => '', 'value' => '', 'image_id' => '', 'calc' => '', 'selected' => 0, 'order' => 1 ),
[278] Fix | Delete
array( 'label' => '', 'image' => '', 'value' => '', 'image_id' => '', 'calc' => '', 'selected' => 0, 'order' => 2 ),
[279] Fix | Delete
),
[280] Fix | Delete
'columns' => array(
[281] Fix | Delete
'label' => array(
[282] Fix | Delete
'header' => esc_html__( 'Label', 'ninja-forms' ),
[283] Fix | Delete
'default' => '',
[284] Fix | Delete
),
[285] Fix | Delete
'value' => array(
[286] Fix | Delete
'header' => esc_html__( 'Value', 'ninja-forms' ),
[287] Fix | Delete
'default' => '',
[288] Fix | Delete
),
[289] Fix | Delete
'calc' => array(
[290] Fix | Delete
'header' => esc_html__( 'Calc Value', 'ninja-forms' ),
[291] Fix | Delete
'default' => '',
[292] Fix | Delete
),
[293] Fix | Delete
'selected' => array(
[294] Fix | Delete
'header' => '<span class="dashicons dashicons-yes"></span>',
[295] Fix | Delete
'default' => 0,
[296] Fix | Delete
),
[297] Fix | Delete
),
[298] Fix | Delete
[299] Fix | Delete
),
[300] Fix | Delete
[301] Fix | Delete
/*
[302] Fix | Delete
|--------------------------------------------------------------------------
[303] Fix | Delete
| Restriction Settings
[304] Fix | Delete
|--------------------------------------------------------------------------
[305] Fix | Delete
|
[306] Fix | Delete
| Limit the behavior or validation of an input.
[307] Fix | Delete
|
[308] Fix | Delete
*/
[309] Fix | Delete
[310] Fix | Delete
/*
[311] Fix | Delete
* MASK
[312] Fix | Delete
*/
[313] Fix | Delete
[314] Fix | Delete
'mask' => array(
[315] Fix | Delete
'name' => 'mask',
[316] Fix | Delete
'type' => 'select',
[317] Fix | Delete
'label' => esc_html__( 'Input Mask', 'ninja-forms'),
[318] Fix | Delete
'width' => 'one-half',
[319] Fix | Delete
'group' => 'restrictions',
[320] Fix | Delete
'help' => esc_html__( 'Restricts the kind of input your users can put into this field.', 'ninja-forms' ),
[321] Fix | Delete
'options' => array(
[322] Fix | Delete
array(
[323] Fix | Delete
'label' => esc_html__( 'none', 'ninja-forms' ),
[324] Fix | Delete
'value' => ''
[325] Fix | Delete
),
[326] Fix | Delete
array(
[327] Fix | Delete
'label' => esc_html__( 'US Phone', 'ninja-forms' ),
[328] Fix | Delete
'value' => '(999) 999-9999',
[329] Fix | Delete
),
[330] Fix | Delete
array(
[331] Fix | Delete
'label' => esc_html__( 'Date', 'ninja-forms' ),
[332] Fix | Delete
'value' => '99/99/9999',
[333] Fix | Delete
),
[334] Fix | Delete
array(
[335] Fix | Delete
'label' => esc_html__( 'Currency', 'ninja-forms' ),
[336] Fix | Delete
'value' => 'currency',
[337] Fix | Delete
),
[338] Fix | Delete
array(
[339] Fix | Delete
'label' => esc_html__( 'Custom', 'ninja-forms' ),
[340] Fix | Delete
'value' => 'custom',
[341] Fix | Delete
),
[342] Fix | Delete
),
[343] Fix | Delete
'value' => '',
[344] Fix | Delete
),
[345] Fix | Delete
/*
[346] Fix | Delete
* CUSTOM MASK
[347] Fix | Delete
*/
[348] Fix | Delete
[349] Fix | Delete
'custom_mask' => array(
[350] Fix | Delete
'name' => 'custom_mask',
[351] Fix | Delete
'type' => 'textbox',
[352] Fix | Delete
'label' => esc_html__( 'Custom Mask', 'ninja-forms'),
[353] Fix | Delete
'width' => 'one-half',
[354] Fix | Delete
'group' => 'restrictions',
[355] Fix | Delete
'value' => '',
[356] Fix | Delete
[357] Fix | Delete
'deps' => array(
[358] Fix | Delete
'mask' => 'custom'
[359] Fix | Delete
),
[360] Fix | Delete
'placeholder' => '',
[361] Fix | Delete
'help' => sprintf( '%s' . esc_html__( 'a - Represents an alpha character (A-Z,a-z) - Only allows letters to be entered.', 'ninja-forms' ) .
[362] Fix | Delete
'%s' . esc_html__( '9 - Represents a numeric character (0-9) - Only allows numbers to be entered.', 'ninja-forms' ) .
[363] Fix | Delete
'%s' . esc_html__( '* - Represents an alphanumeric character (A-Z,a-z,0-9) - This allows both numbers and letters to be entered.', 'ninja-forms' ) .
[364] Fix | Delete
'%s', '<ul><li>', '</li><li>', '</li><li>', '</li></ul>' ),
[365] Fix | Delete
),
[366] Fix | Delete
[367] Fix | Delete
/*
[368] Fix | Delete
* INPUT LIMIT SET
[369] Fix | Delete
*/
[370] Fix | Delete
[371] Fix | Delete
'input_limit_set' => array(
[372] Fix | Delete
'name' => 'input_limit_set',
[373] Fix | Delete
'type' => 'fieldset',
[374] Fix | Delete
'label' => esc_html__( 'Limit Input to this Number', 'ninja-forms' ),
[375] Fix | Delete
'width' => 'full',
[376] Fix | Delete
'group' => 'restrictions',
[377] Fix | Delete
'settings' => array(
[378] Fix | Delete
array(
[379] Fix | Delete
'name' => 'input_limit',
[380] Fix | Delete
'type' => 'textbox',
[381] Fix | Delete
'width' => 'one-half',
[382] Fix | Delete
'value' => '',
[383] Fix | Delete
'label' => '',
[384] Fix | Delete
),
[385] Fix | Delete
array(
[386] Fix | Delete
'name' => 'input_limit_type',
[387] Fix | Delete
'type' => 'select',
[388] Fix | Delete
'options' => array(
[389] Fix | Delete
array(
[390] Fix | Delete
'label' => esc_html__( 'Character(s)', 'ninja-forms' ),
[391] Fix | Delete
'value' => 'characters'
[392] Fix | Delete
),
[393] Fix | Delete
array(
[394] Fix | Delete
'label' => esc_html__( 'Word(s)', 'ninja-forms' ),
[395] Fix | Delete
'value' => 'word'
[396] Fix | Delete
),
[397] Fix | Delete
),
[398] Fix | Delete
'value' => 'characters',
[399] Fix | Delete
'label' => '',
[400] Fix | Delete
),
[401] Fix | Delete
array(
[402] Fix | Delete
'name' => 'input_limit_msg',
[403] Fix | Delete
'type' => 'textbox',
[404] Fix | Delete
'label' => esc_html__( 'Text to Appear After Counter', 'ninja-forms' ),
[405] Fix | Delete
'placeholder' => esc_attr__( 'Character(s) left', 'ninja-forms' ),
[406] Fix | Delete
'width' => 'full',
[407] Fix | Delete
'value' => esc_textarea( __( 'Character(s) left', 'ninja-forms' ) )
[408] Fix | Delete
)
[409] Fix | Delete
),
[410] Fix | Delete
[411] Fix | Delete
),
[412] Fix | Delete
[413] Fix | Delete
/*
[414] Fix | Delete
|--------------------------------------------------------------------------
[415] Fix | Delete
| Advanced Settings
[416] Fix | Delete
|--------------------------------------------------------------------------
[417] Fix | Delete
|
[418] Fix | Delete
| The least commonly used settings for a field.
[419] Fix | Delete
| These settings should only be used for specific reasons.
[420] Fix | Delete
|
[421] Fix | Delete
*/
[422] Fix | Delete
[423] Fix | Delete
/*
[424] Fix | Delete
* Custom Name Attribute
[425] Fix | Delete
*/
[426] Fix | Delete
[427] Fix | Delete
'custom_name_attribute' => array(
[428] Fix | Delete
'name' => 'custom_name_attribute',
[429] Fix | Delete
'type' => 'textbox',
[430] Fix | Delete
'label' => esc_html__( 'Custom Name Attribute', 'ninja-forms' ),
[431] Fix | Delete
'width' => 'full',
[432] Fix | Delete
'group' => 'advanced',
[433] Fix | Delete
'value' => '',
[434] Fix | Delete
'help' => esc_html__( 'This value will be used as the HTML input "name" attribute.', 'ninja-forms' ),
[435] Fix | Delete
'use_merge_tags' => FALSE,
[436] Fix | Delete
),
[437] Fix | Delete
[438] Fix | Delete
/*
[439] Fix | Delete
* INPUT PLACEHOLDER
[440] Fix | Delete
*/
[441] Fix | Delete
[442] Fix | Delete
'placeholder' => array(
[443] Fix | Delete
'name' => 'placeholder',
[444] Fix | Delete
'type' => 'textbox',
[445] Fix | Delete
'label' => esc_html__( 'Placeholder', 'ninja-forms' ),
[446] Fix | Delete
'width' => 'full',
[447] Fix | Delete
'group' => 'display',
[448] Fix | Delete
'value' => '',
[449] Fix | Delete
'help' => esc_html__( 'Enter text you would like displayed in the field before a user enters any data.', 'ninja-forms' ),
[450] Fix | Delete
'use_merge_tags' => FALSE,
[451] Fix | Delete
),
[452] Fix | Delete
[453] Fix | Delete
[454] Fix | Delete
/*
[455] Fix | Delete
* DEFAULT VALUE
[456] Fix | Delete
*/
[457] Fix | Delete
[458] Fix | Delete
'default' => array(
[459] Fix | Delete
'name' => 'default',
[460] Fix | Delete
'label' => esc_html__( 'Default Value', 'ninja-forms' ),
[461] Fix | Delete
'type' => 'textbox',
[462] Fix | Delete
'width' => 'full',
[463] Fix | Delete
'value' => '',
[464] Fix | Delete
'group' => 'display',
[465] Fix | Delete
'use_merge_tags' => array(
[466] Fix | Delete
'exclude' => array(
[467] Fix | Delete
'fields'
[468] Fix | Delete
)
[469] Fix | Delete
),
[470] Fix | Delete
),
[471] Fix | Delete
[472] Fix | Delete
/*
[473] Fix | Delete
* CLASSES
[474] Fix | Delete
*/
[475] Fix | Delete
'classes' => array(
[476] Fix | Delete
'name' => 'classes',
[477] Fix | Delete
'type' => 'fieldset',
[478] Fix | Delete
'label' => esc_html__( 'Custom Class Names', 'ninja-forms' ),
[479] Fix | Delete
'width' => 'full',
[480] Fix | Delete
'group' => 'display',
[481] Fix | Delete
'settings' => array(
[482] Fix | Delete
array(
[483] Fix | Delete
'name' => 'container_class',
[484] Fix | Delete
'type' => 'textbox',
[485] Fix | Delete
'placeholder' => '',
[486] Fix | Delete
'label' => esc_html__( 'Container', 'ninja-forms' ),
[487] Fix | Delete
'width' => 'one-half',
[488] Fix | Delete
'value' => '',
[489] Fix | Delete
'use_merge_tags' => FALSE,
[490] Fix | Delete
'help' => esc_html__( 'Adds an extra class to your field wrapper.', 'ninja-forms' ),
[491] Fix | Delete
),
[492] Fix | Delete
array(
[493] Fix | Delete
'name' => 'element_class',
[494] Fix | Delete
'type' => 'textbox',
[495] Fix | Delete
'label' => esc_html__( 'Element', 'ninja-forms' ),
[496] Fix | Delete
'placeholder' => '',
[497] Fix | Delete
'width' => 'one-half',
[498] Fix | Delete
'value' => '',
[499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function