Hemant Gupta — SPAI Deep Dive
SharePoint AI Verticals Deep Dive / Oct 2025 – May 2026

Conditional Visibility Logic — Design Owner

I treated conditional visibility as a platform behavior problem, not a one-off feature. My job was to turn vague expectations around dynamic forms into a rule system that PM, engineering, and design could all reason about in the same way.

The Product Needed Shared Logic, Not Just More UI

By late 2025, SPAI had strong momentum around forms-led workflows, but conditional behavior was still too fragmented to scale cleanly. Different scenarios needed fields, sections, and downstream steps to appear or disappear based on user input, yet the product did not have one consistent mental model for how that logic should work.

That created two problems at the same time: authors could not reliably predict what would happen in the form, and PM plus engineering teams did not have a stable UX language for discussing rule behavior, dependencies, or implementation tradeoffs.

Why this mattered
Without a clear conditional visibility system, DocGen Forms could not become a reusable foundation for legal, HR, and procurement scenarios. It would remain a set of bespoke flows instead of a platform capability.
I Used DocGen Forms As The Platform Anchor

My approach was to frame conditional visibility as a system of user-facing semantics instead of isolated controls. I centered the work on rule-builder UX, AND/OR evaluation behavior, show/hide outcomes, and the interaction language required to make the model understandable to both authors and builders.

  • Rule model I focused on how conditions should be composed, read, and edited so that complex visibility logic could still feel understandable.
  • Terminology I aligned language across design, PM, and engineering so the same behavior meant the same thing in specs, reviews, and implementation threads.
  • Adjacent systems I kept the work connected to autofill, pagination, sectioning, and forms architecture so conditional visibility would behave like a core platform layer.
A Reusable Visibility Language For Dynamic Forms

The solution I finalized was not just a cleaned-up screen. It was a clearer interaction model for conditional visibility inside DocGen Forms: authors could define rule behavior with more confidence, the system could express show/hide logic more consistently, and downstream product conversations had a more stable semantic foundation.

In practical terms, the work established the UX direction for rule-builder behavior, clarified how visibility outcomes should be interpreted, and reduced ambiguity in the way dynamic form behavior was discussed across teams.

Conditional Visibility Logic — Feature Exploration Open in Figma
Conditional visibility logic feature exploration from Figma
Walkthrough note: this artifact captures the feature-specific conditional visibility exploration used to align rule behavior, visibility states, and authoring semantics.
Review Loops, Wall Reviews, and Cross-Functional Alignment

I solved this through repeated design exploration and alignment rather than a single proposal. From roughly Feb through May 2026, I used artifact reviews, wall reviews, and design conversations with PM and engineering to narrow the rule behavior into something that could survive implementation pressure.

  • Design owner I drove the end-to-end UX direction for the conditional visibility stream.
  • Collaborators I worked in active loops with partners including Vamshi Sagar Barla, Shreya Ganguly, Rasika Sapate, Ravi Gopinath, Manoj, and design peers.
  • Resolution path I used review framing, terminology alignment, and adjacent-spec discussions to resolve ambiguity before it hardened into implementation debt.
Platform Readiness, Not Just Feature Completion

The business value of this work was that it made dynamic forms more reusable across vertical scenarios. Instead of solving conditional behavior differently for each workflow, I helped define a logic system that could support broader platformization goals.

  • Platform readiness I helped move SPAI from isolated feature execution toward reusable AI-vertical capability.
  • Cross-functional clarity I reduced ambiguity across PM, design, and engineering handoffs, which directly supported faster and safer execution.
  • Scale support The work strengthened the case for customer-first validation and reusable components, which were central to the broader SPAI scale plan in 2026.