Deed Requirements & Exceptions Description

Discussions related to ReadyDoc development.
Post Reply
tzinib
Posts: 6
Joined: Mon Oct 26, 2009 6:50 am

Deed Requirements & Exceptions Description

Post by tzinib »

I have the following expression:
SUBJECT TO: <FOREACH {{Order.Deed.RequirementsExceptions}}>{{.Description}}</FOREACH>

It brings the right amount of exceptions that are in the system, but the wording of all of them come up the same like the first exception.
for example I have 4 items of exceptions (of all 3 types) it gives me 4 lines but the wording is the same like the first exception:
Easement in Book 123 Page 89
Easement in Book 123 Page 89
Easement in Book 123 Page 89
Easement in Book 123 Page 89

Am I doing something wrong?

Please advise. Thanks.
swheatley
Posts: 26
Joined: Thu Sep 11, 2008 1:55 pm
Location: Raleigh, NC
Contact:

Re: Deed Requirements & Exceptions Description

Post by swheatley »

That is a bug that you have run into, but luckily the work around is easy. The problem occurs when you have a FOREACH with no spaces between it at all. So the work around is to add a space somewhere between the {{.Description}} field code and the FOREACH. So you have it like this:

<FOREACH {{Order.Deed.RequirementsExceptions}}>{{.Description}}</FOREACH>

And to use the work around it should be something like this:

<FOREACH {{Order.Deed.RequirementsExceptions}}>{{.Description}} </FOREACH>
Post Reply