Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    Why is it not working on a post object field?

    I reckon because the Post Select plugin for CF7 is using some non-std HTML field which the Post My CF7 plugin is not recognising.

    If you need to have a dropdown select field that is populated using post objects or taxonomies, then I suggest you use the Smart Grid-layout extension for CF7 plugin which has a dynamic_dropdown tag field and is compatible with the Post My CF7 plugin. Dynamic dropdown fields can be populated using taxononies or posts, see this video tutorial for more information.

    Thread Starter SomebodyWithAName

    (@dreamwire)

    Hi Aurovrata,

    But if i change the post object field in ACF to a normal text field then i get the value? Is that not strange then?

    And if i installed the plug-in and i wanna edit a contactform i get a error message “There has been a critical error on your website.”

    Plugin Author Aurovrata Venet

    (@aurovrata)

    But if i change the post object field in ACF to a normal text field then i get the value? Is that not strange then?

    sorry, hadn’t understood that.

    ACF plugin created fields often requires values to be stored in a specific format to work/be recognised by ACF.

    For example a file upload field in ACF expects the file to be imported into the media table of WP and its media post ID stored in the field value.

    However, the Post My CF7 plugin is designed to keep things more simple, and stores the values submitted in the form into meta-data/post fields. So a file is uploaded on the server and its URI stored in the field for example.

    So I reckon that the ACF Post Object expects a post ID, while your form field is populated with a post title or post slug, and the plugin saves it as is.

    If you really need ACF then you should hook the action fired at the end of the mapping process and programmatically save your form field in the format expected by ACF.

    Thread Starter SomebodyWithAName

    (@dreamwire)

    This is solved, i used that plug-in i used already but i put the value on ID instead of title and that was the fix.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    great!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Mapped post object fields dont get the data’ is closed to new replies.