The CreatorCon Call for Content is officially open! Get started here.

Brian Dailey1
Kilo Sage

This is a quick workaround for CSM Workspace and Agent Workspace to detect when the form is dirty (i.e., field values have been changed).

According to the support document (KB0855260😞
"g_form.modified, g_form.modifiedFields, g_form.getControl('field_name').changed, g_form.getElement('field').changed APIs will not work in agent workspace."

 

To work around this challenge in the Workspace environment, here are a couple of options using g_form just to see if the form itself has been updated:

  • g_form.isUserModified();
  • g_form.$private.isDirty();

    find_real_file.png

    find_real_file.png

 

 

These won't tell you the individually modified fields, but they will tell you if the form has been changed and has unsaved updates.

 

-Brian

Version history
Last update:
‎08-31-2022 03:24 PM
Updated by: