John – Thank you for the reply. I am attempting to use the JS solution. However, I cannot seem to get the JS to trigger. This is what I have included
<?php
function my_acf_input_admin_footer() {
?>
<script type=”text/javascript”>
(function($) {
alert(“ready now”);
})(jQuery);
</script>
<?php
}
add_action(‘acf/input/admin_footer’, ‘my_acf_input_admin_footer’);
?>
I do not see the alert though. Nor do I see this script when I view source of the page.
Advice/pointers?
Can someone give me some pointers in this? I can code but am not sure where to start…
the situation is this.. we have two text fields…field_1 (a text field) and field_2 (a textarea). When a user enters data into field_1, we need to update field_2 with a new string (contains value of field_1). This could be dynamic or on save (what ever is easier).
Also, field_2 needs to be non-editable so the only way value changes is when field_1 is updated.