• Resolved rtandoh

    (@rtandoh)


    Hi,

    Nice plugin.

    How do I save repeater field values, upon form submission, using af_save_field?

    I have a repeater field called speakers with four sub fields speaker_name (text), speaker_title (text) and speaker_bio (text) and speaker_photo (image).

    Thanks,
    rt.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author fabianlindfors

    (@fabianlindfors)

    Hi!

    af_save_field should work fine for repeater fields. Call af_save_field and pass the name of your repeater field and the post ID you want to save the field to. You should use the name of the actual repeater field and not one of the sub fields.

    Hope it works!

    Thread Starter rtandoh

    (@rtandoh)

    It did. I was using the individual sub fields before.

    Thanks,
    rt.

    Plugin Author fabianlindfors

    (@fabianlindfors)

    I’m glad it worked! ??

    Hi,
    I am saving two values in af_save_field(), but it is storing one value and not the another. Can you suggest me some solution.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Saving repeater field values’ is closed to new replies.