Hide Resource Field from Submitted Ticket

Hide Resource Field from Submitted Ticket

Is there a way to hide a Resource field in the submitted ticket - the ticket the technician will look at?

As part of another script to append text to resource questions, I added the highlighted section to try and hide the VM1_cpus Resource field and only show the plainText_VM1_cpus Resource field:

var selectedOption = $CS.getText("RES_601_QUS_605");
var newLabel = selectedOption + " key:" + "cpus";
if ($CS.isFormSubmit()) {
    $CS.setValue("RES_601_QUS_645", newLabel);
    $CS.hideField(["RES_601_QUS_605"]);

VM1
VM1_name

vm1 key:hostname

VM1_ip

2.2.2.2 key:ipaddress

VM1_cpus

4

VM1_memory (GB)

64 key:memory

VM1_OS

rhel9

VM1_gridos

None

VM1_opco

APC

plainText_VM1_cpus

4 key:cpus

plainText_VM1_OS

rhel9 key:OS

plainText_VM1_gridos

None key:gridos

plainText_VM1_opco

APC key:opco

                  New to ADSelfService Plus?