Provides print template functionality for the current form.
const { form } = tisa;// Open a print template in a new windowawait form.print.show("ContractCoverSheet");// Open with debug box showing all form data passed to the templateawait form.print.show("TestTemplate", true); Copy
const { form } = tisa;// Open a print template in a new windowawait form.print.show("ContractCoverSheet");// Open with debug box showing all form data passed to the templateawait form.print.show("TestTemplate", true);
Opens a print template in a new browser window, rendered with current form field values.
Name of the print template
Optional
When true, enables the "Form data passed to template" debug box in templates that support it (default: false)
await tisa.form.print.show("ContractCoverSheet");await tisa.form.print.show("TestTemplate", true); // with debug box Copy
await tisa.form.print.show("ContractCoverSheet");await tisa.form.print.show("TestTemplate", true); // with debug box
Provides print template functionality for the current form.
Example