replied on April 25, 2019
Between Rob's reply and Sheila's response to this thread: (https://answers.laserfiche.com/questions/102370/File-upload-override-JS-and-enables-submit-button#102580) I was able to cobble together what I needed. One of the changes I had to make was to use '#q597 input' to specify the field input I wanted to use as a source, as well as the destination field. Since I'm copying from two different sources (one an English version of the field and one a Spanish version of the field) into a single source, I wrote two versions of this, one that goes into effect if English is selected, one that goes into effect if Spanish is selected.
Here's the final script for this part that includes logic for when to check and uncheck the destination box:
//Ethnicity
$('#q597').change(function() {
var check1 = $('#q597 input[type=Checkbox][value=Hispanic_Latino]').is(':checked');
var check2 = $('#q597 input[type=Checkbox][value=American_Indian_Alaskan_Native]').is(':checked');
var check3 = $('#q597 input[type=Checkbox][value=Asian]').is(':checked');
var check4 = $('#q597 input[type=Checkbox][value=Black_African_American]').is(':checked');
var check5 = $('#q597 input[type=Checkbox][value=Hawaiian_Pacific_Islander]').is(':checked');
var check6 = $('#q597 input[type=Checkbox][value=White]').is(':checked');
if (check1) {
$('#q668 input[type=Checkbox][value=Hispanic_Latino]').prop("checked", true);
} else {
$('#q668 input[type=Checkbox][value=Hispanic_Latino]').prop("checked", false);
}
if(check2) {
$('#q668 input[type=Checkbox][value=American_Indian_Alaskan_Native]').prop('checked', true);
} else {
$('#q668 input[type=Checkbox][value=American_Indian_Alaskan_Native]').prop("checked", false);
}
if(check3) {
$('#q668 input[type=Checkbox][value=Asian]').prop('checked', true);
} else {
$('#q668 input[type=Checkbox][value=Asian]').prop("checked", false);
}
if(check4) {
$('#q668 input[type=Checkbox][value=Black_African_American]').prop('checked', true);
} else {
$('#q668 input[type=Checkbox][value=Black_African_American]').prop("checked", false);
}
if(check5) {
$('#q668 input[type=Checkbox][value=Hawaiian_Pacific_Islander]').prop('checked', true);
} else {
$('#q668 input[type=Checkbox][value=Hawaiian_Pacific_Islander]').prop("checked", false);
}
if(check6) {
$('#q668 input[type=Checkbox][value=White]').prop('checked', true);
} else {
$('#q668 input[type=Checkbox][value=White]').prop("checked", false);
}
});