I'm currently trying to get a work around for the editor field being broken, I need to automatically set the editor field based off of a custom field that is "Directly Reports-To" that populates users with "$CS.referField("WorkOrder_Fields_UDF_CHAR15","users",{url:"/api/v3/users"}); " so selecting the user works fine, what I can't figure out is how to automatically set the Editor field based off of the "Directly Reports-To" field that we created. Also Editor is not one of the System Field options you can choose when using the field and form rules or I would have just set it up with that.
Tried this from another post but this only errors out saying "Please complete mandatory field Directly Reports-To" even though it already has a user selected in it.
var name=jQuery("#editorField").val();
if($CS.isFormSubmit()) {
$CS.setValue("WorkOrder_Fields_UDF_CHAR15",name);
}
Any help would be greatly appreciated!