Perhaps I did not provide enough information.
I have a Drop Down in a Form.

I also, have a drop down for the Manager/Supervisor related to the Department

I used java scripting (based on the link in the post above) to auto select the Manager/Supervisor based on what was chosen in the Department field

$(document).ready(function () {
$('#q39').on('change', function(){
if ($('#q39 select').val() == "Corporate Services" ) {
$('#q40 select').val("Jason Silver").change();
}
}); //end change
}); // end doc ready
This worked fine.
To allow me to assign a task to a specific Forms User using this script:
//add domain in front of 4x4
$('.mgr input').on('change lookup', function() {
if($(this).val().indexOf('domain\\') == -1) {
$(this).val('domain\\' + $(this).val());
}
});
//end add domain in front of 4x4
I used the Assign values to choices in my Manager/Supervisor field, and assigned DOMAIN\username.
Once I assigned a value to the Manager/Supervisor, the first script for the dependent drop down stopped working.
Is there a way to fix this? or perhaps a different way to do this?
Any help is appreciated.
Thank you,
Darren