Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Copying and Pasting a Row from the Form Onto Another Row

Avatar

Level 1

I have pdf form created using livecycle. I'm trying to find a way to programmatically allow a user to copy and paste entire rows onto other rows. Right now, it just allows then to copy single elements/fields.

Is it possible for a user to copy an entire row and paste it onto another row (so that all the data from the copied row displays on the "pasted row")?

Other information: Rows contain text fields and drop downs.

Any assistance would be greatly appreciated as I have not seen this subject being discussed.

4 Replies

Avatar

Level 1

Hi radzmar,

My issue can't be resolved through fragments because it is a runtime issue.

i.e. I need a copy and paste function similar to the one in an excel document.

e.g. a persion can copy row #1 from a table and paste it into row #2.

Thanks anyways though!

Avatar

Level 10

Hi,

at runtime you can duplicate the data records with a small script.

I made a sample with a simple table.

In each row there is a button that will save the data of the entire row as XML and it to the data DOM.

Then it will create a new row at the end of the table which contains the same data.

https://workspaces.acrobat.com/?d=jBE-vufz0QawUsJCFCGZ*Q

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now