FormPages

API / @publicodes/forms / FormPages

type FormPages<RuleName> = object[];

Defined in: formBuilder.ts:77

Represents all pages in a multi-page form. It is the output of PageBuilder.

Type Parameters

Type ParameterDescription
RuleNameThe type of rule names used in the form

Type declaration

NameTypeDefined in
elementsRuleName[]formBuilder.ts:78
title?stringformBuilder.ts:79

Remarks

Each page contains an array of elements that should be displayed together. The title property is optional and can be used to provide a header for the page.