I have a question on livecycle. I am collecting the inventor information as a bunch of text fields, each asking for a certain details. Please see below
Now I have grouped them all in to one fragment called inventordetails and saved as .xdp file, so I could reuse this entire block. I want to add a button underneath this block, “ADD MORE INVENTORS” and when clicked this will insert another block and so forth and so on. However I was not sure as to how to insert and delete a fragment. Do you think you can help with this? I appreciate any help in this regard.
Best
Subashini
Solved! Go to Solution.
Views
Replies
Total Likes
Views
Replies
Total Likes
When you reference your fragment in the mail form it will be placed in a subform container. It is that subform container that is referenced by the instance Manager to be able to add/delete subforms from it. The button woudl go on th email form and woudl reference the subform containing the fragment (like any other add/delete of a subform). Remember that the fragment gets resolved before render so from the form's perspective it is all one continuous XDP file.
Hope that helps
Paul
Views
Replies
Total Likes
Thank you. But I am not sure I understand it very well. I am not very familiar with
this software. I want to know how to script those buttons to add and delete the fragments. Could you please
help me with this?
Thanks
Subashini
Views
Replies
Total Likes
I woudl need to see the form and the fragment .....can you send them to LiveCycle8@gmail.com and include a description of what you are trying to do in the email and I will have a look when I can.
Paul
Views
Replies
Total Likes
1. I have a subform1 which is flowed
2. I have subform2 inside subform1 which is positioned
3. Inside subform2 I have two buttons 1. ADD INVENTOR 2. DELETE INVENTOR
4. Also inside subform1 I insert a fragment called inventor
Now I want to script the buttons so that when clicked the inventor fragment either gets inserted again or deleted.
I greatly appreciate any help in this regard.
Best
Subashini
Views
Replies
Total Likes
Replied with a solution in a private email.
paul
Views
Replies
Total Likes
Thank you so much Paul. It worked like a charm . I have another question about inserting watermark in the form. I am starting a new discussion thread . I would appreciate it if you could please answer it as well
Best
Subashini
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies