Script on form submission to assign to technician

Script on form submission to assign to technician

HIi am looking to have a script on form submit in an incident and request template that when a value from a field is selected by the requester that on submit the script routes it to a specific technician. Is this script below correct where xxx is the named technician


$CS.mandateField(["TECHNICIAN"]);$CS.setText("TECHNICIAN","xxx"); 


                New to ADManager Plus?

                  New to ADSelfService Plus?