Hi,
since month I'm looking for a solution for following problem.
I'm designing forms with livecycle designer that uses a "Save-Button" with the script
app.execMenuItem("SaveAs")
in the click event.
Works fine so far after enabling the reader extentions.
But is there a way to generate a new filename by one of the forms fields?
Cause the users now often overwrites the original form, if they don't rename the file.
I found several discussions about in this forum, but often for acrobat not designer.
Cause of complex dynamic forms I only preffer designer for creating the forms.
Any solution known?
I also tried some examples for the acrobat like
var myDoc =
event.target;
myDoc.saveAs();
+
a trusted function in the config.js
but this script never works, I don't know how.
I read the Disigner Scripting Basic Manual and some of the others, too, but did not find a solution.
Maybe I misunderstood some declarations cause my native language is german and it's hard for me reading technical docs in english :-/
Can anyone help?
I preffer a solution for designer.
THANKS IN ADVANCE
radzmar
The person was using a name derived from the current date/time, but you would use the same general approach if the file name/path is based on a field value.
If you post some code that's not working, we may be able to suggest changes.
George