Large HotDocs interviews can require a lot of repetitive scripting to keep related questions and components in sync. This walkthrough shows how PowerShell can read a component file's XML and generate code for showing, hiding, setting, and summarizing groups of variables. Based on an eviction-defense form library, it focuses on reducing manual copying and omissions while making later changes easier for authors already comfortable with the HotDocs Script Editor.

Originally published on Nonprofit Techy on May 3, 2017. Read the full article.