You are designing the page and all of a sudden you get this error:
Invalid related display -- not after control or related to field outside scroll: The page definition has been set up incorrectly.
Solution: Make sure that the related-display field comes AFTER the display-control field. To find this out, click on the ""Order"" tab in Application Designer when viewing the page.
You can click-hold-and-drag the field up or down to position it correctly, in terms of field order. This will NOT physically move the field on the page, but only change the order that the field is evaluated.
If this doesn't work, you might have some corrupted cache. Log out of any-and-all PeopleTools executables (Appllication Designer, PSQuery, etc.) and clear your local cache, and then try again.