How can I trigger the classification to update and change forms from a different property?

Hi Aras Community, I have a use case where my classification is technically controlling two things. What type of workflow they are on and what kind of form they see with the ability to switch the different kinds of forms. I'm trying to prevent mistakes from happening by providing 2 drop downs one that shows the workflow type and another that offers the form options. On selecting the form options, I need to update the classification and have the form change to the proper form. My current code updates the classification but does not execute whatever code causes the form to change on the classification update the way it does if you type it in or use the classification dialog box. Below is the code I'm starting with I don't know if there may be an API I can call that does this change or if there is a way to refresh the iframe that I'm not aware of. Any help is greatly appreciated.

var inn = top.aras.newIOMInnovator();
var formtype = document.all("form_type").value;
var worktype = document.all("workflow_purpose").value;
var classification = "";

switch(worktype){
    case "New Work":
        if(formtype = "form1"){
            classification = "form1/Create New";
        }else{
            classification = formtype+"/"+worktype;
        }
        break;
    
    case "Other Work":
        if(formtype = "form2"){
            classification = "form2/Other Work";
        }else{
            classification = formtype+"/"+worktype;
        }
        break;
}

window.handleItemChange("classification",classification);
window.handleItemChange("form_type", formtype);

return this;