Laserform Attachments

Laserform .XFS files are simple XML data files.
They are represented in the template as Export Field of kind
LaserForm
.

Example

Consider Mary (born 1st May 1960) as the applicant, John (born 30th April 1960) as the respondent and their 3 children Samantha, Louise and David.
The export fields:
{Export LaserForm divpet Occurrence "Divorce Petition (The Applicant)" With name As ApplicantName, dob As Text( ApplicantDOB, "MM dth, yyyy" ), children As Collect(ChildName)}
{Export LaserForm divpet Occurrence "Divorce Petition (The Respondent)" With name As RespondentName, dob As Text( RespondentDOB, "MM dth, yyyy" ), children As Collect(ChildName)}
will add the following elements to each session XML:
<ExportList Kind="laserform" Name="divpet" Occurrence="Divorce Petition (The Applicant)" RepeatContext="">
<ExportItem name="name">
<Value>Mary</Value>
</ExportItem>
<ExportItem name="dob">
<Value>May 1st, 1960</Value>
</ExportItem>
<ExportItem name="children">
<Value>Samantha</Value>
<Value>Louise</Value>
<Value>David</Value>
</ExportItem>
</ExportList>
<ExportList Kind="laserform" Name="divpet" Occurrence="Divorce Petition (The Respondent)" RepeatContext="">
<ExportItem name="name">
<Value>John</Value>
</ExportItem>
<ExportItem name="dob">
<Value>April 30th, 1960</Value>
</ExportItem>
<ExportItem name="children">
<Value>Samantha</Value>
<Value>Louise</Value>
<Value>David</Value>
</ExportItem>
</ExportList>
from which the following LaserForm attachments will be generated:
Divorce Petition (The Applicant).xfs
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?> <formSimpleData> <formName>divpet</formName>
<infill name="name">Mary</infill>
<infill name="dob">May 1st, 1960</infill>
<infill name="children" rowindex="1">Samantha</infill>
<infill name="children" rowindex="2">Louise</infill>
<infill name="children" rowindex="3">David</infill>
</formSimpleData>
Divorce Petition (The Respondent).xfs
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?> <formSimpleData>
<formName>divpet</formName>
<infill name="name">John</infill>
<infill name="dob">April 30th, 1960</infill>
<infill name="children" rowindex="1">Samantha</infill>
<infill name="children" rowindex="2">Louise</infill>
<infill name="children" rowindex="3">David</infill>
</formSimpleData>

Related content