Support

Account

Home Forums ACF PRO Write only repeater field Reply To: Write only repeater field

  • EDIT: Sorry, wrong post!

    That’s the one. Okay, so I assume I’d be replacing:

    $(element).find('.acf-input input').attr('readonly', true);

    with something like:

    $(element).find('div[data-name="FIELD_NAME_HERE"] input').attr('readonly', true);

    Correct?

    Well that’s better than what I had originally, so thank you. Shame there’s no unique ID field available to repeaters!