• Resolved markovetski

    (@markovetski)


    Hi Shabti,

    How are you doing?

    First of all I would like to give you a thumbs up for the nice plugin and the progress you have made from the tutorial videos.

    I know that my request/question is quite dumb but I am losing my mind without finding the solution I need.

    I am using a combination of ACF and Jet Engine because each of them is giving me a diffrent solution (AFC is good with free text fields and Jet Engine have an option to add an image to taxonomy and to post in using Elementor).

    So I kind of need a solution that will make me choose Jet Engine custom fields too.

    Any idea on that?

    Thanks,
    Eli.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Shabti Kaplan

    (@shabti)

    Hello! This is an interesting feature request. I will check if we will be able to implement this feature and let you know

    Thread Starter markovetski

    (@markovetski)

    Thanks, Shabti!

    And even if you can give me a temporary PHP hook so I can try it on my side.
    And if you need API details from JetEngine please let me know and I will try to ask them/find it for you.

    BTW, here is the link to the page and also some info about the custom fields:
    https://worldpronet.site/gbo/a-leading-food-producer-is-looking-for-a-buy-in-partner/
    https://snipboard.io/edWKnc.jpg

    Plugin Author Shabti Kaplan

    (@shabti)

    Here is a hook that we created that fires after the form is submitted:

    add_action( 'acfef/on_submit' , 'update_taxonomy_image', 10, 2 );
    
    function update_taxonomy_image( $settings, $wg_id ){
      //here is where you can use ACF fields to update jet engine data
    }

    This hook provides two parameters: $settings – an array of the widget settings – and $wg_id – the id of the widget of the form. You might not even need these though. You also have access to the $_POST array in this function which includes all of the acf field keys and values. Also, you have access to the post id through $_POST[ ‘acfef_post_id ]

    I’m not familiar with the jet engine documentation, but perhaps you can use one of the acf fields to update the post’s taxonomy’s image.

    I’ll try to help more when I get a chance

    • This reply was modified 4 years, 10 months ago by Shabti Kaplan.
    Thread Starter markovetski

    (@markovetski)

    Hi Shabti,

    In your last version, it seems to be working.

    I am still testing it but for now, it works ??

    Thanks!

    Plugin Author Shabti Kaplan

    (@shabti)

    I’m glad to hear (:

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Using Jet engine custom field with ACF Frontend’ is closed to new replies.