Home → Using LincDoc 3.0 → Document Package Administration (Enterprise Only) → Repeating documents
Sometimes there is a need for a source document to be repeated 1 or more times, but it is only known how many times it will be repeated once the user completes their data entry. Assume you are creating a document package to generate an apartment lease for 1-4 residents. The package is composed of 2 source documents: a base lease agreement and a resident application form. The base lease agreement contains a multi-value table to collect the 1-4 resident names, which we want displayed in the base lease. We make hidden fields to collect further details for each resident: we don't want to display the details in the base lease agreement, instead they will be shown in the application forms which will follow the base lease.
Resident name | Resident address |
<<res_pn#>> | <<res_addr#[hidden]>><<res_city#[hidden]>><<res_state#[hidden]>><<res_zip#[hidden]>> |
In the application form we might have something like this:
Resident name: <<res_pn#>>
Address: <<res_addr#>>
City, State Zip: <<res_city#>>, <<res_state#>> <<res_zip#>>
To include a document for each resident: