Form Analyzer

Analyze UI policies, client scripts, business rules, ACLs, data policies, and UI actions for the current form — plus monitor field changes in real-time.

The Form Analyzer shows everything that affects the current form: UI policies, client scripts, business rules, ACLs, data policies, and UI actions. It also includes a real-time field monitor that tracks value changes as you work.

Open it with /skform or /skformanalyzer, or select it from the Sidekick menu. The tool requires a form to be open — it reads the current table, record, and view from g_form.

Tabs

Form Analyzer is organized into four tabs:

Entities

The default view. Shows all server and client-side entities configured for the current form's table and view:

  • UI Policies — Including their actions (visible, mandatory, read-only per field)
  • Client Scripts — onChange, onLoad, onSubmit, and onCellEdit scripts
  • Business Rules — before, after, async, and display rules
  • ACLs — Field and record-level access controls
  • Data Policies — Field constraints enforced at the data layer
  • UI Actions — Buttons and context menu actions on the form

Each entity shows its name, active state, and a link to open the record directly. You can search across all entities and filter by field name to see only what affects a specific field.

Fields

Lists all fields on the current form, grouped by table in the hierarchy (e.g., task fields vs incident fields on an incident form). Shows field type, column name, and label for each field.

Scratchpad

Displays the contents of g_scratchpad for the current form. This is the data object that business rules (display type) pass to client scripts. Useful for verifying that server-side data is reaching the client as expected.

Monitor (Field Watcher)

The Monitor tab watches for field value changes on the form in real-time. As you or the system modifies field values (through user input, client scripts, UI policies, or business rules), changes appear in a live history log.

Features:

  • Start / Stop — Toggle monitoring on and off
  • Change history — Shows old value, new value, and timestamp for each change
  • Monitored fields — Lists all fields being watched with their current values
  • Changed only filter — Toggle to show only fields that have changed
  • Export — Export the change history as CSV for analysis or sharing

This is particularly useful for debugging onChange client scripts, UI policy actions, and understanding the order in which field values are set during form load.

Use the search box at the top to filter entities by name or description. Use the field dropdown to narrow results to entities that affect a specific field — for example, selecting state shows only the UI policies, client scripts, and business rules that reference that field.

Time Filters

Filter entities by when they were last updated:

  • Last 24 hours
  • Last 7 days
  • Last 30 days

This helps you identify recently changed configurations that might be causing unexpected form behavior.

Tips

  • Start with the field filter — If a specific field is misbehaving, filter by that field name to see all entities that touch it.
  • Check Scratchpad — When client scripts aren't getting the data they expect, verify the scratchpad contents here instead of adding console.log statements.
  • Use Monitor during testing — Turn on the field monitor before triggering an action to capture every field change in order.
  • Export for sharing — Use the CSV export on the Monitor tab to share change histories with colleagues when troubleshooting.