Support

Account

Home Forums General Issues Copy one field to another one on relationship selected Reply To: Copy one field to another one on relationship selected

  • The examples I’ve posted are just so that you can have an idea of what’s involved. For other custom fields you would get them the same way you’d normally get fields from ACF

    $value = get_field('my_field', $post_id);

    return them as part of the json value and then update the fields from that in your JavaScript. Sorry, I can’t really create examples for every type of field or every case. Sometimes it takes a lot of digging, testing, trial and error to figure out how to update some fields with JS.