Support

Account

Home Forums Backend Issues (wp-admin) Limit on Repeater Rows

Helping

Limit on Repeater Rows

  • I currently have a custom field group with three different repeaters. They are being grouped using tabs to give a clean interface. We have been having this issue for a while but it seems that after about 150 repeater rows across all three repeaters it doesn’t allow you to add any more. If you add new rows it does nothing, additionally if I have a ton of repeater rows and I try to make updates to the fields the changes don’t save.

    I am guess this is a GET/POST issue with the ACF meta box not passing the info to the server.

    Below is the export of the field group. Thoughts?

    
    /**
     *  Install Add-ons
     *  
     *  The following code will include all 4 premium Add-Ons in your theme.
     *  Please do not attempt to include a file which does not exist. This will produce an error.
     *  
     *  All fields must be included during the 'acf/register_fields' action.
     *  Other types of Add-ons (like the options page) can be included outside of this action.
     *  
     *  The following code assumes you have a folder 'add-ons' inside your theme.
     */ 
    
    // Fields 
    add_action('acf/register_fields', 'my_register_fields');
    
    function my_register_fields()
    {
    	include_once('add-ons/acf-repeater/repeater.php');
    	include_once('add-ons/acf-gallery/gallery.php');
    	include_once('add-ons/acf-flexible-content/flexible-content.php');
    }
    
    // Options Page 
    include_once( 'add-ons/acf-options-page/acf-options-page.php' );
    
    /**
     *  Register Field Groups
     *
     *  The register_field_group function accepts 1 array which holds the relevant data to register a field group
     *  You may edit the array as you see fit. However, this may result in errors if the array is not compatible with ACF
     */
    
    if(function_exists("register_field_group"))
    {
    	register_field_group(array (
    		'id' => '52a5f75506608',
    		'title' => 'Manage Planroom Files',
    		'fields' => 
    		array (
    			0 => 
    			array (
    				'key' => 'field_39',
    				'label' => 'Project Specs',
    				'name' => 'project_specs',
    				'type' => 'tab',
    				'order_no' => 0,
    				'instructions' => '',
    				'required' => '0',
    				'id' => 'acf-project_specs',
    				'class' => 'tab',
    				'conditional_logic' => 
    				array (
    					'status' => '0',
    					'rules' => 
    					array (
    						0 => 
    						array (
    							'field' => 'null',
    							'operator' => '==',
    							'value' => '',
    						),
    					),
    					'allorany' => 'all',
    				),
    			),
    			1 => 
    			array (
    				'key' => 'field_35',
    				'label' => 'Project Specs',
    				'name' => 'drawings',
    				'type' => 'repeater',
    				'order_no' => 1,
    				'instructions' => '',
    				'required' => '0',
    				'id' => 'acf-drawings',
    				'class' => 'repeater',
    				'conditional_logic' => 
    				array (
    					'status' => '0',
    					'rules' => 
    					array (
    						0 => 
    						array (
    							'field' => 'null',
    							'operator' => '==',
    						),
    					),
    					'allorany' => 'all',
    				),
    				'sub_fields' => 
    				array (
    					'1369418367790' => 
    					array (
    						'key' => '1369418367790',
    						'label' => 'Division',
    						'name' => 'division',
    						'type' => 'select',
    						'order_no' => 0,
    						'instructions' => '',
    						'required' => 0,
    						'id' => 'acf-division',
    						'class' => 'select',
    						'conditional_logic' => 
    						array (
    							'status' => 0,
    							'allorany' => 'all',
    							'rules' => 0,
    						),
    						'choices' => 
    						array (
    							'Division 2 – Site' => 'Division 2 – Site',
    							'Division 2 - Demolition' => 'Division 2 - Demolition',
    							'Division 3 – Concrete' => 'Division 3 – Concrete',
    							'Division 4 – Masonry' => 'Division 4 – Masonry',
    							'Division 5 – Structural Steel' => 'Division 5 – Structural Steel',
    							'Division 5 – Misc. Metal' => 'Division 5 – Misc. Metal',
    							'Division 6 – Millwork' => 'Division 6 – Millwork',
    							'Division 7 – Thermal & Moisture Protection' => 'Division 7 – Thermal & Moisture Protection',
    							'Division 8 – Glass and Glazing' => 'Division 8 – Glass and Glazing',
    							'Division 8 – Doors, Frames & Hardware' => 'Division 8 – Doors, Frames & Hardware',
    							'Division 9 – Finishes' => 'Division 9 – Finishes',
    							'Division 10 – Specialties' => 'Division 10 – Specialties',
    							'Division 11 – Dock Equipment' => 'Division 11 – Dock Equipment',
    							'Division 11 - Racking' => 'Division 11 - Racking',
    							'Division 12 – Furnishings' => 'Division 12 – Furnishings',
    							'Division 13 – Low Temp' => 'Division 13 – Low Temp',
    							'Division 14 - Elevator' => 'Division 14 - Elevator',
    							'Division 15 – Plumbing' => 'Division 15 – Plumbing',
    							'Division 15 – HVAC' => 'Division 15 – HVAC',
    							'Division 15 – Fire Protection' => 'Division 15 – Fire Protection',
    							'Division 15 – Refrigeration' => 'Division 15 – Refrigeration',
    							'Division 15 – Misc.' => 'Division 15 – Misc.',
    							'Division 16 - Electrical' => 'Division 16 - Electrical',
    						),
    						'column_width' => '',
    						'default_value' => '',
    						'allow_null' => '0',
    						'multiple' => '0',
    					),
    					'1363624758174' => 
    					array (
    						'key' => '1363624758174',
    						'label' => 'Drawing Number',
    						'name' => 'drawing_number',
    						'type' => 'text',
    						'order_no' => 1,
    						'instructions' => '',
    						'required' => 0,
    						'id' => 'acf-drawing_number',
    						'class' => 'text',
    						'conditional_logic' => 
    						array (
    							'status' => 0,
    							'allorany' => 'all',
    							'rules' => 0,
    						),
    						'column_width' => '20',
    						'default_value' => '',
    						'formatting' => 'html',
    					),
    					'1363624788244' => 
    					array (
    						'key' => '1363624788244',
    						'label' => 'Drawing Type',
    						'name' => 'drawing_type',
    						'type' => 'select',
    						'order_no' => 2,
    						'instructions' => '',
    						'required' => 0,
    						'id' => 'acf-drawing_type',
    						'class' => 'select',
    						'conditional_logic' => 
    						array (
    							'status' => 0,
    							'allorany' => 'all',
    							'rules' => 0,
    						),
    						'choices' => 
    						array (
    							'---' => '---',
    							'Progress Print' => 'Progress Print',
    							'Permit Issue' => 'Permit Issue',
    							'Construction Issue' => 'Construction Issue',
    						),
    						'column_width' => '20',
    						'default_value' => '---',
    						'allow_null' => '0',
    						'multiple' => '0',
    					),
    					'1363624837322' => 
    					array (
    						'key' => '1363624837322',
    						'label' => 'Revision Date',
    						'name' => 'revision_date',
    						'type' => 'date_picker',
    						'order_no' => 3,
    						'instructions' => '',
    						'required' => 0,
    						'id' => 'acf-revision_date',
    						'class' => 'date_picker',
    						'conditional_logic' => 
    						array (
    							'status' => 0,
    							'allorany' => 'all',
    							'rules' => 0,
    						),
    						'column_width' => '15',
    						'date_format' => 'mmddyy',
    						'display_format' => 'mm/dd/yy',
    					),
    					'1363624905583' => 
    					array (
    						'key' => '1363624905583',
    						'label' => 'File Upload',
    						'name' => 'upload_file',
    						'type' => 'file',
    						'order_no' => 4,
    						'instructions' => '',
    						'required' => 0,
    						'id' => 'acf-upload_file',
    						'class' => 'file',
    						'conditional_logic' => 
    						array (
    							'status' => 0,
    							'allorany' => 'all',
    							'rules' => 0,
    						),
    						'column_width' => '20',
    						'save_format' => 'url',
    					),
    					'1363624933673' => 
    					array (
    						'key' => '1363624933673',
    						'label' => 'Archive',
    						'name' => 'archive',
    						'type' => 'true_false',
    						'order_no' => 5,
    						'instructions' => '',
    						'required' => 0,
    						'id' => 'acf-archive',
    						'class' => 'true_false',
    						'conditional_logic' => 
    						array (
    							'status' => 0,
    							'allorany' => 'all',
    							'rules' => 0,
    						),
    						'column_width' => '5',
    						'message' => '',
    						'default_value' => '0',
    					),
    				),
    				'row_min' => '0',
    				'row_limit' => '',
    				'layout' => 'table',
    				'button_label' => 'Add Spec',
    			),
    			2 => 
    			array (
    				'key' => 'field_40',
    				'label' => 'Plans (PDF)',
    				'name' => 'plans_(pdf)',
    				'type' => 'tab',
    				'order_no' => 2,
    				'instructions' => '',
    				'required' => '0',
    				'id' => 'acf-plans_(pdf)',
    				'class' => 'tab',
    				'conditional_logic' => 
    				array (
    					'status' => '0',
    					'rules' => 
    					array (
    						0 => 
    						array (
    							'field' => 'null',
    							'operator' => '==',
    							'value' => '',
    						),
    					),
    					'allorany' => 'all',
    				),
    			),
    			3 => 
    			array (
    				'key' => 'field_36',
    				'label' => 'Plans (PDF)',
    				'name' => 'general',
    				'type' => 'repeater',
    				'order_no' => 3,
    				'instructions' => '',
    				'required' => '0',
    				'id' => 'acf-general',
    				'class' => 'repeater',
    				'conditional_logic' => 
    				array (
    					'status' => '0',
    					'rules' => 
    					array (
    						0 => 
    						array (
    							'field' => 'null',
    							'operator' => '==',
    						),
    					),
    					'allorany' => 'all',
    				),
    				'sub_fields' => 
    				array (
    					'1369418763363' => 
    					array (
    						'key' => '1369418763363',
    						'label' => 'Discipline',
    						'name' => 'discipline',
    						'type' => 'select',
    						'order_no' => 0,
    						'instructions' => '',
    						'required' => 0,
    						'id' => 'acf-discipline',
    						'class' => 'select',
    						'conditional_logic' => 
    						array (
    							'status' => 0,
    							'allorany' => 'all',
    							'rules' => 0,
    						),
    						'choices' => 
    						array (
    							'01 Civil' => '01 Civil',
    							'02 Architectural' => '02 Architectural',
    							'03 Structural' => '03 Structural',
    							'04 Fire Protection' => '04 Fire Protection',
    							'05 Plumbing' => '05 Plumbing',
    							'06 Mechanical' => '06 Mechanical',
    							'07 Industrial Refrigeration' => '07 Industrial Refrigeration',
    							'08 Electrical' => '08 Electrical',
    							'09 Material Handling' => '09 Material Handling',
    							'10 Process' => '10 Process',
    							'11 Energy Management' => '11 Energy Management',
    						),
    						'column_width' => '',
    						'default_value' => '',
    						'allow_null' => '0',
    						'multiple' => '0',
    					),
    					'1364932029906' => 
    					array (
    						'key' => '1364932029906',
    						'label' => 'Drawing Number',
    						'name' => 'drawing_number',
    						'type' => 'text',
    						'order_no' => 1,
    						'instructions' => '',
    						'required' => 0,
    						'id' => 'acf-drawing_number',
    						'class' => 'text',
    						'conditional_logic' => 
    						array (
    							'status' => 0,
    							'allorany' => 'all',
    							'rules' => 0,
    						),
    						'column_width' => '20',
    						'default_value' => '',
    						'formatting' => 'html',
    					),
    					'1364932064902' => 
    					array (
    						'key' => '1364932064902',
    						'label' => 'Drawing Type',
    						'name' => 'drawing_type',
    						'type' => 'select',
    						'order_no' => 2,
    						'instructions' => '',
    						'required' => 0,
    						'id' => 'acf-drawing_type',
    						'class' => 'select',
    						'conditional_logic' => 
    						array (
    							'status' => 0,
    							'allorany' => 'all',
    							'rules' => 0,
    						),
    						'choices' => 
    						array (
    							'---' => '---',
    							'Progress Print' => 'Progress Print',
    							'Permit Issue' => 'Permit Issue',
    							'Construction Issue' => 'Construction Issue',
    						),
    						'column_width' => '20',
    						'default_value' => '---',
    						'allow_null' => '0',
    						'multiple' => '0',
    					),
    					'1364932091012' => 
    					array (
    						'key' => '1364932091012',
    						'label' => 'Revision Date',
    						'name' => 'revision_date',
    						'type' => 'date_picker',
    						'order_no' => 3,
    						'instructions' => '',
    						'required' => 0,
    						'id' => 'acf-revision_date',
    						'class' => 'date_picker',
    						'conditional_logic' => 
    						array (
    							'status' => 0,
    							'allorany' => 'all',
    							'rules' => 0,
    						),
    						'column_width' => '15',
    						'date_format' => 'mmddyy',
    						'display_format' => 'mm/dd/yy',
    					),
    					'1364329261714' => 
    					array (
    						'key' => '1364329261714',
    						'label' => 'Upload File',
    						'name' => 'upload_file',
    						'type' => 'file',
    						'order_no' => 4,
    						'instructions' => '',
    						'required' => 0,
    						'id' => 'acf-upload_file',
    						'class' => 'file',
    						'conditional_logic' => 
    						array (
    							'status' => 0,
    							'allorany' => 'all',
    							'rules' => 0,
    						),
    						'column_width' => '',
    						'save_format' => 'url',
    					),
    					'1364932129217' => 
    					array (
    						'key' => '1364932129217',
    						'label' => 'Archive',
    						'name' => 'archive',
    						'type' => 'true_false',
    						'order_no' => 5,
    						'instructions' => '',
    						'required' => 0,
    						'id' => 'acf-archive',
    						'class' => 'true_false',
    						'conditional_logic' => 
    						array (
    							'status' => 0,
    							'allorany' => 'all',
    							'rules' => 0,
    						),
    						'column_width' => '5',
    						'message' => '',
    						'default_value' => '0',
    					),
    				),
    				'row_min' => '0',
    				'row_limit' => '',
    				'layout' => 'table',
    				'button_label' => 'Add New File',
    			),
    			4 => 
    			array (
    				'key' => 'field_41',
    				'label' => 'Plans (CAD)',
    				'name' => 'plans_(cad)',
    				'type' => 'tab',
    				'order_no' => 4,
    				'instructions' => '',
    				'required' => '0',
    				'id' => 'acf-plans_(cad)',
    				'class' => 'tab',
    				'conditional_logic' => 
    				array (
    					'status' => '0',
    					'rules' => 
    					array (
    						0 => 
    						array (
    							'field' => 'null',
    							'operator' => '==',
    							'value' => '',
    						),
    					),
    					'allorany' => 'all',
    				),
    			),
    			5 => 
    			array (
    				'key' => 'field_37',
    				'label' => 'Plans (CAD)',
    				'name' => 'autocad',
    				'type' => 'repeater',
    				'order_no' => 5,
    				'instructions' => '',
    				'required' => '0',
    				'id' => 'acf-autocad',
    				'class' => 'repeater',
    				'conditional_logic' => 
    				array (
    					'status' => '0',
    					'rules' => 
    					array (
    						0 => 
    						array (
    							'field' => 'null',
    							'operator' => '==',
    						),
    					),
    					'allorany' => 'all',
    				),
    				'sub_fields' => 
    				array (
    					'1364932249173' => 
    					array (
    						'key' => '1364932249173',
    						'label' => 'Division',
    						'name' => 'division',
    						'type' => 'select',
    						'order_no' => 0,
    						'instructions' => '',
    						'required' => 0,
    						'id' => 'acf-division',
    						'class' => 'select',
    						'conditional_logic' => 
    						array (
    							'status' => 0,
    							'allorany' => 'all',
    							'rules' => 0,
    						),
    						'choices' => 
    						array (
    							'---' => '---',
    							'Existing Conditions' => 'Existing Conditions',
    							'Concrete' => 'Concrete',
    							'Masonry' => 'Masonry',
    							'Metals' => 'Metals',
    							'Woods, Plastics, Composites' => 'Woods, Plastics, Composites',
    							'Thermal & Moisture Protection' => 'Thermal & Moisture Protection',
    							'Openings' => 'Openings',
    							'Finishes' => 'Finishes',
    							'Specialties' => 'Specialties',
    							'Equipment' => 'Equipment',
    							'Furnishings' => 'Furnishings',
    							'Lo Temp' => 'Lo Temp',
    							'Mechanical' => 'Mechanical',
    							'Electrical' => 'Electrical',
    						),
    						'column_width' => '20',
    						'default_value' => '',
    						'allow_null' => '0',
    						'multiple' => '0',
    					),
    					'1364932273370' => 
    					array (
    						'key' => '1364932273370',
    						'label' => 'Drawing Number',
    						'name' => 'drawing_number',
    						'type' => 'text',
    						'order_no' => 1,
    						'instructions' => '',
    						'required' => 0,
    						'id' => 'acf-drawing_number',
    						'class' => 'text',
    						'conditional_logic' => 
    						array (
    							'status' => 0,
    							'allorany' => 'all',
    							'rules' => 0,
    						),
    						'column_width' => '20',
    						'default_value' => '',
    						'formatting' => 'html',
    					),
    					'1364932294925' => 
    					array (
    						'key' => '1364932294925',
    						'label' => 'Drawing Type',
    						'name' => 'drawing_type',
    						'type' => 'select',
    						'order_no' => 2,
    						'instructions' => '',
    						'required' => 0,
    						'id' => 'acf-drawing_type',
    						'class' => 'select',
    						'conditional_logic' => 
    						array (
    							'status' => 0,
    							'allorany' => 'all',
    							'rules' => 0,
    						),
    						'choices' => 
    						array (
    							'---' => '---',
    							'Progress Print' => 'Progress Print',
    							'Permit Issue' => 'Permit Issue',
    							'Construction Issue' => 'Construction Issue',
    						),
    						'column_width' => '20',
    						'default_value' => '---',
    						'allow_null' => '0',
    						'multiple' => '0',
    					),
    					'1364932310112' => 
    					array (
    						'key' => '1364932310112',
    						'label' => 'Revision Date',
    						'name' => 'revision_date',
    						'type' => 'date_picker',
    						'order_no' => 3,
    						'instructions' => '',
    						'required' => 0,
    						'id' => 'acf-revision_date',
    						'class' => 'date_picker',
    						'conditional_logic' => 
    						array (
    							'status' => 0,
    							'allorany' => 'all',
    							'rules' => 0,
    						),
    						'column_width' => '15',
    						'date_format' => 'mmddyy',
    						'display_format' => 'mm/dd/yy',
    					),
    					'1364329423992' => 
    					array (
    						'key' => '1364329423992',
    						'label' => 'Upload File',
    						'name' => 'upload_file',
    						'type' => 'file',
    						'order_no' => 4,
    						'instructions' => '',
    						'required' => 0,
    						'id' => 'acf-upload_file',
    						'class' => 'file',
    						'conditional_logic' => 
    						array (
    							'status' => 0,
    							'allorany' => 'all',
    							'rules' => 0,
    						),
    						'column_width' => '',
    						'save_format' => 'url',
    					),
    				),
    				'row_min' => '0',
    				'row_limit' => '',
    				'layout' => 'table',
    				'button_label' => 'Add CAD',
    			),
    		),
    		'location' => 
    		array (
    			'rules' => 
    			array (
    				0 => 
    				array (
    					'param' => 'post_type',
    					'operator' => '==',
    					'value' => 'planroom',
    					'order_no' => 0,
    				),
    			),
    			'allorany' => 'all',
    		),
    		'options' => 
    		array (
    			'position' => 'normal',
    			'layout' => 'default',
    			'hide_on_screen' => 
    			array (
    			),
    		),
    		'menu_order' => 0,
    	));
    }
    
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.