Trouble saving values to a CDT in my form

Hi All, I seem to be having trouble saving form values to a CDT in my form. If I save the values to any other field type, e.g. Text or Boolean etc, the data is submitted correctly. However when I save the form data to a CDT, it is either not saving correctly or I am not retrieving it correctly as the pv! values are blank. To test my work, I am trying to email the output to myself on Submit. When I test the form in the design window, I can see the values being added to the CDT, so I assume I am doing this part correctly. The code for my form is:

a!formLayout(
label: "Delete Existing Computer Access",
firstColumnContents: {
a!textField(
label: "",
labelPosition: "ABOVE",
instructions: "It is requested the following account be removed from the university email system, as they are no longer employed by the University of South Australia:",
saveInto: {},
refreshAfter: "UNFOCUS",
readonly: true,
validations: {}...

OriginalPostID-202811

OriginalPostID-202811

  Discussion posts and replies are publicly visible

Parents
  • ...
    ),
    rule!COMMON_staffCustomFieldPicker(
    label: "Applicant",
    required: true,
    value: ri!decaRequest.applicant,
    validations: {},
    saveIntoExtra: {
    ri!decaRequest.applicant
    },
    labelPosition: "ADJACENT"
    ),
    a!textField(
    label: "Employee ID Number",
    labelPosition: "ADJACENT",
    value: ri!decaRequest.employeeID,
    saveInto: ri!decaRequest.employeeID,
    refreshAfter: "UNFOCUS",
    validations: {}
    ),
    a!dateField(
    label: "Effective Date",
    labelPosition: "ADJACENT",
    value: ri!decaRequest.effectiveDate,
    saveInto: ri!decaRequest.effectiveDate,
    validations: {}
    ),
    rule!COMMON_staffCustomFieldPicker(
    label: "Authorising Signatory",
    required: true,
    value: ri!decaRequest.authorisingSignatory,
    validations: {},
    saveIntoExtra: {
    ri!decaRequest.authorisingSignatory
    },
    labelPosition: "ADJACENT"
    ),
    ...
Reply
  • ...
    ),
    rule!COMMON_staffCustomFieldPicker(
    label: "Applicant",
    required: true,
    value: ri!decaRequest.applicant,
    validations: {},
    saveIntoExtra: {
    ri!decaRequest.applicant
    },
    labelPosition: "ADJACENT"
    ),
    a!textField(
    label: "Employee ID Number",
    labelPosition: "ADJACENT",
    value: ri!decaRequest.employeeID,
    saveInto: ri!decaRequest.employeeID,
    refreshAfter: "UNFOCUS",
    validations: {}
    ),
    a!dateField(
    label: "Effective Date",
    labelPosition: "ADJACENT",
    value: ri!decaRequest.effectiveDate,
    saveInto: ri!decaRequest.effectiveDate,
    validations: {}
    ),
    rule!COMMON_staffCustomFieldPicker(
    label: "Authorising Signatory",
    required: true,
    value: ri!decaRequest.authorisingSignatory,
    validations: {},
    saveIntoExtra: {
    ri!decaRequest.authorisingSignatory
    },
    labelPosition: "ADJACENT"
    ),
    ...
Children
No Data