Support » Plugin: Post My CF7 Form » Mapping file field with file ACF field

  • Resolved tbuza

    (@tbuza)


    I try to map the file field from CF7 with file field type created with ACF (return value is File Array). CF7 form is uploading and sending the file via mail, but the file is not stored in custom post. Any idea how to solve that?

    Besides that, it works perfectly!

    The page I need help with: [log in to see the link]

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

    (@aurovrata)

    try to map the file field from CF7 with file field type created with ACF[…]Any idea how to solve that?

    ACF likely expects a file ID to be saved in its field.

    This plugin was initally designed to automatically create fields which a form are mapped to. File meta-fields are saved as a link to the url of hte file, and as a result ACF created file fields do not recognise the url string a valid field.

    You should let the plugin handle the field creation for you. Else if you really want to use ACF, then map your field to a custom filter and programmatically save the file in the format ACF expects it.

    In a future version of this plugin I may try to integrate it better with ACF.

    In a

Viewing 1 replies (of 1 total)
  • The topic ‘Mapping file field with file ACF field’ is closed to new replies.