Support

Account

Home Forums General Issues Stray Field (blank field no label) Reply To: Stray Field (blank field no label)

  • John I just wanted to thank you for all your help with this issue. I think I managed to fix it. Anyone else (unlikely but you never know) with this issue I had a mistake in my acf.php I had “min” and “max” as a child of the sub_fields array when they need to be siblings.

    // so this - WRONG
    ...
    "sub_fields" => array (
    	...
    	array (
    		'tabs' => 'all',
    		'toolbar' => 'full',
    		'media_upload' => 1,
    		'default_value' => '',
    		'delay' => 0,
    		'key' => 'field_5880eb5f6122e',
    		'label' => 'Text',
    		'name' => 'the_text',
    		'type' => 'wysiwyg',
    		'instructions' => '',
    		'required' => 0,
    		'conditional_logic' => 0,
    		'wrapper' => array (
    			'width' => '',
    			'class' => '',
    			'id' => '',
    		),
    	),
    	'min' => '',
    	'max' => '',
    ),
    
    // to this - RIGHT
    ...
    "sub_fields" => array (
    	...
    	array (
    		'tabs' => 'all',
    		'toolbar' => 'full',
    		'media_upload' => 1,
    		'default_value' => '',
    		'delay' => 0,
    		'key' => 'field_5880eb5f6122e',
    		'label' => 'Text',
    		'name' => 'the_text',
    		'type' => 'wysiwyg',
    		'instructions' => '',
    		'required' => 0,
    		'conditional_logic' => 0,
    		'wrapper' => array (
    			'width' => '',
    			'class' => '',
    			'id' => '',
    		),
    	),
    ),
    'min' => '',
    'max' => '',

    VICTORY! Thanks again for all your help!