Support

Account

Forum Replies Created

  • Hello;

    The plugin seems to still break the site even after trying updating the version number in acf.php i get the update available visual but after update and reactivating WP All Import ACF Addon the manager breaks again.

    ACF Pro version currently installed: 5.7.12
    WP All Import ACF Add-on version currently installed: 3.1.9

    The message is the following:

    [19-Feb-2019 17:44:02 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function acf_local() in /path/to/project/wp-content/plugins/wpai-acf-add-on/wpai-acf-add-on.php:469
    Stack trace:
    #0 /path/to/project/wp-content/plugins/wpai-acf-add-on/wpai-acf-add-on.php(243): PMAI_Plugin::init_available_acf_fields()
  • +1 to this.
    I’m losing tab order in repeater fields with Post Object fields.
    After selecting an option with Enter, Tab loses the next input and seems to go to the top of page elements.

    To recreate, something like this:
    Press Tab until you are focused in a Post Object field in a repeater.
    Space to open the dropdown, move with arrows to your selection, press Enter.

    After that, i’d expect Tab key to position cursor to the next input but it takes me to the top of the page.

    As we commonly use ACF for front end forms it would be good for users to have tab navigation for moving faster between fields.

  • Hi John, thanks for replying.
    Not sure how to submit a new support ticket. The link takes me back here again.
    Saving _edit_last should be the expected behavior in my opinion.

    I’ll try anyways to dig in the issue and use the acf/save_post filter.

  • is this valid for acf_form() too?
    i want to prefill some acf with code generated information at the moment of creation but it seems not working.

  • Hi Eliot;
    I need append / prepend data to decorate the value in the front end but they are not getting loaded using get_field_object or get_field_objects.

    Other key / values are coming as expected in the array.

  • Did you find a solution for this?
    I could find anything related.

  • A solution to set hidden/disabled attribute on a regular field would be helpful when creating front-end forms for submitting data.

    Example:

    Filling an inquiry form for a product, the populated acf_form in the front end can grab current ID from product page and pre fill an ACF Post Object type with it’s current ID.

    Maybe this settings can be available in the acf_form() options arguments when populating the form or via load_field/name={$fieldname} filter

    Somthing like:

    
    
    add_filter('acf/load_field/name=property','wc_set_field');
    function wc_set_field($field){
    		
    		if( !is_admin() && is_single() ){
    			$pid = get_the_ID();
    			$field['default_value'] = $pid;
    			$field['disabled'] = true;
    			$field['hidden'] = true;
    		}
    
    		//same in, same out
    		return $field;	
    }
    

    This way the field value is blocked in the frontend but it can be changed using the regular backend edit screen normally without changing its field type.

    I see myself using ACF a lot to solve front end forms. This feature can help create relations easier.

    Thanks for the great work on ACF.

Viewing 8 posts - 1 through 8 (of 8 total)