Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Go to the Field List to configure the field to be used to write to the History.
    Module → Module Name → Forms (tab) → Create/Update Fields… (button)

  2. Select the Field intended to write to the History in the Custom JavaScript tab add the below on Init.
    (Note: FieldNameHere should vary)

    Code Block
    languagejs
    formScope.formdata.FieldNameHere = undefined;
  3. Within the Blur add the below script.

    Code Block
    languagejs
    if(formScope.formdata.FieldNameHere){
        formScope.formdata.actionComment = formScope.formdata.FieldNameHere;
    }
    else{
        formScope.formdata.actionComment = undefined;
    }
  4. Save the Field List.

  5. Add the field to the Default Form and Save the form.
    Module → Module Name → Forms (tab) → Default (name link)

  6. Open a request, fill in a value in the field, perform the Action validating that the value was written to the History as expected.

Info

If you have reviewed the above and are experiencing any issue or have any questions contact Stratawise Support