: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
'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' ),
'use_merge_tags' => FALSE,
'help' => esc_html__( 'Adds an extra class to your field element.', 'ninja-forms' ),
* Add all of our custom date field settings.
'label' => esc_html__( 'Date/Time Mode', 'ninja-forms' ),
'label' => esc_html__( 'Date Only', 'ninja_forms' ),
'label' => esc_html__( 'Time Only', 'ninja_forms' ),
'label' => esc_html__( 'Both Date & Time', 'ninja_forms' ),
'value' => 'date_and_time',
'default' => 'date_only',
'time_settings' => array(
'name' => 'time_settings',
'label' => esc_html__( 'Time Settings', 'ninja-forms' ),
'label' => esc_html__( '24 Hour Input', 'ninja-forms' ),
'minute_increment' => array(
'name' => 'minute_increment',
'label' => esc_html__( 'Minute Increment', 'ninja-forms' ),
array( 'name' => 'date_mode', 'value' => 'date_and_time' ),
array( 'name' => 'date_mode', 'value' => 'time_only' ),
'label' => esc_html__( 'Format', 'ninja-forms' ),
'label' => esc_html__( 'Default', 'ninja-forms' ),
'label' => esc_html__( 'DD/MM/YYYY', 'ninja-forms' ),
'label' => esc_html__( 'DD-MM-YYYY', 'ninja-forms' ),
'label' => esc_html__( 'DD.MM.YYYY', 'ninja-forms' ),
'label' => esc_html__( 'MM/DD/YYYY', 'ninja-forms' ),
'label' => esc_html__( 'MM-DD-YYYY', 'ninja-forms' ),
'label' => esc_html__( 'MM.DD.YYYY', 'ninja-forms' ),
'label' => esc_html__( 'YYYY-MM-DD', 'ninja-forms' ),
'label' => esc_html__( 'YYYY/MM/DD', 'ninja-forms' ),
'label' => esc_html__( 'YYYY.MM.DD', 'ninja-forms' ),
'label' => esc_html__( 'Friday, November 18, 2019', 'ninja-forms' ),
'value' => 'dddd, MMMM D YYYY',
array( 'name' => 'date_mode', 'value' => 'date_and_time' ),
array( 'name' => 'date_mode', 'value' => 'date_only' ),
'name' => 'date_default',
'label' => esc_html__( 'Default To Current Date', 'ninja-forms' ),
array( 'name' => 'date_mode', 'value' => 'date_and_time' ),
array( 'name' => 'date_mode', 'value' => 'date_only' ),
'label' => esc_html__( 'Year Range', 'ninja-forms' ),
'name' => 'year_range_start',
'label' => esc_html__( 'Start Year', 'ninja_forms' ),
'name' => 'year_range_end',
'label' => esc_html__( 'End Year', 'ninja_forms' ),
array( 'name' => 'date_mode', 'value' => 'date_and_time' ),
array( 'name' => 'date_mode', 'value' => 'date_only' ),
'label' => esc_html__( 'Number of seconds for timed submit.', 'ninja-forms' ),
'label' => esc_html__( 'Field Key', 'ninja-forms'),
'group' => 'administration',
'help' => esc_html__( 'Creates a unique key to identify and target your field for custom development.', 'ninja-forms' ),
'label' => esc_html__( 'Admin Label', 'ninja-forms' ),
'group' => 'administration',
'help' => esc_html__( 'Label used when viewing and exporting submissions.', 'ninja-forms' ),
'label' => esc_html__( 'Help Text', 'ninja-forms' ),
'help' => esc_html__( 'Entering text here will display an informational icon next to the field label. When a user hovers over it, a small window will appear containing this text.', 'ninja-forms' ),
'use_merge_tags' => true,
'label' => esc_html__( 'Description', 'ninja-forms' ),
'help' => esc_html__( 'Any text entered here will appear between the label and the field.', 'ninja-forms' ),
'use_merge_tags' => true,
'label' => esc_html__( 'Sort as Numeric', 'ninja-forms'),
'group' => 'administration',
'help' => esc_html__( 'This column in the submissions table will sort by number.', 'ninja-forms' ),
'personally_identifiable' => array(
'name' => 'personally_identifiable',
'label' => esc_html__( 'This Field Is Personally Identifiable Data', 'ninja-forms' ),
'help' => esc_html__( 'This option helps with privacy regulation compliance', 'ninja-forms' ),
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
// Multi-Select List Only
'label' => esc_html__( 'Multi-Select Box Size', 'ninja-forms'),
'help' => esc_html__( 'Adjusts the number of list option selections that are viewable by the user at one time without scrolling through the list.', 'ninja-forms' ),
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Hidden from grouped listings, but still searchable.
'timed_submit_label' => array(
'name' => 'timed_submit_label',
'label' => esc_html__( 'Label', 'ninja-forms' ),
//The following text appears below the element
//'Submit button text after timer expires'
'use_merge_tags' => TRUE,
'timed_submit_timer' => array(
'name' => 'timed_submit_timer',
'label' => esc_html__( 'Label' , 'ninja-forms' ),
// This text was located below the element '%n will be used to signfify the number of seconds'
'value' => sprintf( esc_textarea( __( 'Please wait %s seconds', 'ninja-forms' ) ), '%n'),
'timed_submit_countdown' => array (
'name' => 'timed_submit_countdown',
'label' => esc_html__( 'Number of seconds for the countdown', 'ninja-forms' ),
//The following text appears to the right of the element
//"This is how long the user must waitin to submit the form"
* Password Registration checkbox
'password_registration_checkbox' => array(
'name' => 'password_registration_checkbox',
'label' => esc_html__( 'Use this as a registration password field. If this box is check, both
password and re-password textboxes will be output', 'ninja-forms' ),
* Number of Stars Textbox
'number_of_stars' => array(
'name' => 'number_of_stars',
'label' => esc_html__( 'Number of stars', 'ninja-forms' ),
* Disable Browser Autocomplete
'disable_browser_autocomplete' => array(
'name' => 'disable_browser_autocomplete',
'label' => esc_html__( 'Disable Browser Autocomplete', 'ninja-forms' ),
'group' => 'restrictions',
'disable_input' => array(
'name' => 'disable_input',
'label' => esc_html__( 'Disable Input', 'ninja-forms' ),
'group' => 'restrictions',
'help' => esc_html__( 'Prevents users from typing into the field.', 'ninja-forms' ),
//TODO: Ask about the list of states and countries.
* Country - Use Custom First Option
'use_custom_first_option' => array(
'name' => 'use_custom_first_option',
'label' => esc_html__( 'Use a custom first option', 'ninja-forms' ),
* Country - Custom first option
'custom_first_option' => array(
'name' => 'custom_first_option',
'label' => esc_html__( 'Custom first option', 'ninja-forms' ),
'label' => esc_html__( 'Type', 'ninja-forms' ),
'label' => esc_html__( 'Settings', 'ninja-forms' ),
'confirm_field' => array(