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
BedrockMission!

Learn More

View all

Sign in to view all badges

How to create a unique file name each time the form is saved?

Avatar

Avatar
Level 2
DVDmike
Level 2

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
View profile

Avatar
Level 2
DVDmike
Level 2

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
View profile
DVDmike
Level 2

27-01-2009

I've got a form with several data items. When the user saves the form, it saves it as an .xml file. So far so good. But then I want the user to be able to start over and put in a new data set. I used the reset form button and this clears out the old data. But when the user goes to save the form for the second set of data, the default name of the .xml file is the same as the last record set. How do I get LCD to create a unique data name each time the form is saved? I know that the user can enter a new name, but I do not want them to have to think that much.



Alternatively, is there a way that a user can enter several forms of data and save all of the data in one XML file that my PDF can scroll through or that I can import into excel and keep all of the data sets separate?

Replies

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

28-01-2009

You cannot name the file easily unless the user selects a filename.



The product will not combine the files together for you but you can do it yourself. Not sure if this is truely what you want though because each file represents a record (an occurance of the form). The form will only be able to display one occurance at a time.

Avatar

Avatar
Level 2
DVDmike
Level 2

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
View profile

Avatar
Level 2
DVDmike
Level 2

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
View profile
DVDmike
Level 2

28-01-2009

Thanks Paul for the post. It sounds like this program is simply not designed for one user to keypunch a batch of forms. It would appear to limit the program's use to users who only need to key in one record/form. While a good solution for multiple users who need to enter just one set of data, the limitation would explain why this program is not widely used.

Avatar

Avatar
Boost 1
Level 2
Allta_Media
Level 2

Like

1 like

Total Posts

31 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 2
Allta_Media
Level 2

Like

1 like

Total Posts

31 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
Allta_Media
Level 2

28-01-2009

There are some posts that discuss how to SaveAs with filename generated from a form field and date/year at:

http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=16903



Also, Response files collected in Acrobat 9 can generate PDF Portfolios, which is a package of PDF pages with all your data.

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

28-01-2009

Lkassuba has a good point you may want to look at the "Distribute Form" functionality as it will allow you to send out the form and collect the replies into a single portfolio. You can then load the response that you want or simply compare answers as if they were in a spreadsheet. You can also export the data into csv, xml etc. if you wish.

Avatar

Avatar
Level 2
DVDmike
Level 2

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
View profile

Avatar
Level 2
DVDmike
Level 2

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
View profile
DVDmike
Level 2

28-01-2009

Thanks, I'm am going to try the code posted first.