Hi,
I am new to Livecycle ES, It would be grateful if some one answer my question.
I have created form with 8 pages (subforms), i want to populate data to any one of the page and to hide rest of pages. I need to control the page selection based on my data.
For example:
I'd named the subforms as 'Page_1, Page_2......'
and i am passing XML data with <Page_1> or <Page_4> tag followed by field value pairs.
Let me know, if any one met this kind of scenario and succeeded on this.
Regards,
Sasi
Views
Replies
Total Likes
With data binding the presence of data can determine the presence of subforms so there is no need to hide pages. The mistake I make about 99% of the time is to forget to save the form as a dynamic PDF before testing in Preview. The attached is a simple example of how binding drives the presence of subforms in the rendering. Note that the XML used in the Preview has "page2" commented out so the page 2 does not render in the PDF.
<?xml version="1.0" encoding="UTF-8"?>
<form1>
<page1>
<subform1>
<name1>Larry</name1>
</subform1>
</page1>
<!--
<page2>
<subform1>
<name2>Curly</name2>
</subform1>
</page2>
-->
<page3>
<subform1>
<name3>Moe</name3>
</subform1>
</page3>
</form1>
Steve
Views
Replies
Total Likes
Hi Steve,
Thanks for your response.
I used to send the XML data for any one page of the form. Your suggestion can applicable if i know the total pages of the form prior to the XML data creation. Since i do not know how many pages there in the form, how to restrict to print the 'no' data form.
Like,
Form XDP having 'Page_1' to 'Page_9'
Since i don't know the total pages of the form, i used to send XML data like,
<?xml version="1.0" encoding="UTF-8"?>
<form1>
<page_2>
<subform1>
<name1>Larry</name1>
</subform1>
</page_2>
</form1>
In this case, the page_2 of the form should be printed and rest should not.
Help me.
Regards,
Sasi
Views
Replies
Total Likes