since ‎31-07-2020
‎03-09-2020
utente2
Level 1
Re: use of addInstance utente2 - Adobe Experience Manager Forms
In a template I have to import a fragment. In this fragment I want to create several instances of a subform and for each of these I check if the number of pages of the fragment has changed as the number of instances of the subform increases. For example, if after 5 iterations the fragment from 1 page goes to 2 pages I have to hide an element that is on the first page and modify another element that is on the next page.I thought about using the master page because from here I could read the value...
99
Views
0
Likes
0
Comments
use of addInstance utente2 - Adobe Experience Manager Forms
Hello,I'm trying to use AEM Forms addInstance() method inside a MasterPage to instantiate multiple times, via a for loop, a subform (placed outside the Master Page). The result is that it calls the document multiple times, it goes into an infinite loop. Is it not possible to use addInstance() in this way in a MasterPage??
130
Views
0
Likes
3
Answers and Comments
Master Page in fragment utente2 - Adobe Experience Manager Forms
Hello,I should insert in an AEM Forms template a fragment in which there is also some code in a Master Page. Generally to create a fragment I follow this procedure: I first create a form (let's call it formFragment) with New -> Form, I selected a subform and I click on Create fragment on it. So to use the fragment in the template that was supposed to import it (let's call it mainForm) I select Insert Fragment by choosing the subform in formFragment. This obviously does not allow me to import the...
57
Views
0
Likes
0
Answers and Comments
Betreff: problem with Western Text utente2 - Adobe Experience Manager Forms
It's like a table because the cells of the same row are linked. I've preferred not to use table or horizontal subforms because there should be some line under some field so using columns in this case seems to be less complicated
111
Views
0
Likes
0
Comments
problem with Western Text utente2 - Adobe Experience Manager Forms
Hi,in the Designer of Aem Forms I used a subform with Content: Flowed and Flow direction: Western Text. Inside I have inserted 3 vertical subforms as columns. When it reachs the end of the page and splits to go to the next page, the first column is arranged correctly (starting from page 1 and ending on page 2), while the following columns start directly from page 2, leaving free space above them in the bottom of page 1. How can I get the right behavior? Thank you
132
Views
0
Likes
3
Answers and Comments
Betreff: repeat subforms for each data item utente2 - Adobe Experience Manager Forms
thanks, your answer was helpful, I should study the use of istance manager. I don't have much experience with scripting in XFA (2 - 3 months)
71
Views
0
Likes
0
Comments
Re: subform height calculation utente2 - Adobe Experience Manager Forms
pdf form
92
Views
0
Likes
0
Comments
Re: repeat subforms for each data item utente2 - Adobe Experience Manager Forms
I can't post the image of the form because it is a customer product, I post a similar scheme that I have created now. Below are the structure and related bindings for the 3 fragments that are used by the general form. As you can see all 3 refer to the same type of data in the xml file (any errors in the names don't matter, they are examples)
84
Views
1
Like
0
Answers
Re: repeat subforms for each data item utente2 - Adobe Experience Manager Forms
I tried to do as you wrote, in one case it works, in the other it doesn't. I try to explain better (I don't speak good English): I created a form that uses fragments. In the fragments I inserted the binding as indicated. If I preview directly from the fragment files, everything is ok, if instead I run the form that includes them, it displays all the pages only for one fragment. For the other ones it is as if it found only one page and did not see the repetition. Fragments use the same data in th...
99
Views
1
Like
1
Answers
repeat subforms for each data item utente2 - Adobe Experience Manager Forms
Hello,I would like to ask a question about the "Repeat Subform for each data item" option present in the Aem Forms Designer in Object-> Binding. If I connect the element I want to repeat to the data of the XMl file through the "Data binding" field and select "Repeat Subform for each data item" the result I see in the preview is correct but it gives me a warning like "The maximum repeat value for this subform is set to a higher value than the data connection" if the number of connected data is eq...
180
Views
0
Likes
6
Answers and Comments
Re: subform height calculation utente2 - Adobe Experience Manager Forms
ok thanks, now I only have a doubt. Between the last row and the footer I should insert a graphic element that covers the empty space. To do that the only way I can think of is to delete the empty rows, except one. And let this one have the height of the space left. Is it possible?
113
Views
0
Likes
1
Answers
Re: subform height calculation utente2 - Adobe Experience Manager Forms
kprokopi,I thought I had to calculate the height in advance because I have to insert a series of rows, which can extend over 1 or more pages. Then I have to put a footer in a fixed position at the bottom, and between the last row and the footer another element is required to cover the remaining empty space (in the last page). So I wanted to calculate the height of the subform that contains the rows to set the height of the subform above the footer
124
Views
0
Likes
0
Answers
subform height calculation utente2 - Adobe Experience Manager Forms
hi, I'm new to AEM Forms. I would like to ask how to calculate the height of a subform which varies according to the number of data passed. The subform is of the Flowed type, the height varies according to the number of elements contained in it (which depends on the number of data it finds). Is it possible to use javascript to calculate its height before printing, and then, using this value in a if control, to display another subform with a certain height rather than another? Thank you
200
Views
0
Likes
7
Answers and Comments
Likes given to
Likes from