Home Forums General Issues Experiences user form


Experiences user form

  • Hello,

    I am brand new to wordpress and even newer to acf. I added a form with a repeater for my buddypress users to be able to add experiences or formation. It is successfull in backoffice form for users and on front, I succeed to display the form but not to process the data I get from the form.

    The content of $_POST[‘acf’] is :

    array (size=1)
      '5767dc42ca47d' => 
        array (size=4)
          'field_5746d33646149' => string '20160601' (length=8)
          'field_5746d40b4614d' => string 'qsfdqsdfqsdf' (length=12)
          'field_5746d5754614f' => string '' (length=0)
          'field_5746d4d34614e' => 
            array (size=1)
              0 => string 'oui' (length=3)

    I cannot figure out how to map the id with their “names” (I mean without parsing the html to get the name from the containing div.

    Can anybody help me ?


  • Hi @codivores

    The acf_form() function should save the data automatically, so you don’t have to create a handler for the form. Please make sure that you have the acf_form_head() function in your template.

    If that doesn’t work, please try to add the object ID you want to edit like this:

        'post_id' => 99,

    Where “99” is the object ID.

    If still no joy, could you please tell me where and how did you add the form? Also, could you please share some screenshots of the issue?

    Thanks 🙂

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

The topic ‘Experiences user form’ is closed to new replies.