Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Pagination and dynamic objects problem

Avatar

Former Community Member

I'm designing the form below in LC. Sections of the form are set to hidden depending on checkboxes in the form. What I would like to happen is an object to appear in the center of every page footer that:

  • has a field that needs approval (any field)
  • doesn't already have an approval signature on it

Does this need to be done with multiple master pages since the footer is part of the master?

The form should be obvious when you open it. Essentially, there needs to be approval on all form pages with data on them. The exceptions being a page that already has the approver's signature on it or a page with no form data on it.

Thanks,

Kevin

1 Reply

Avatar

Former Community Member

Is the following pseudo-code possible? It would likely go into the prePrint method for the form.

for (int i = 0; i < numPages; i++) {
    if (page[i] contains signatureSubform || page[i] contains-only textSubform) {
        page[i].intialsSubform.presence = "visible";
    } else {
        page[i].intialsSubform.presence = "visible";
    }
}

This form also presents the problem more clearly. It has a dynamic table instead of checkboxes.