Save As Function
My goal is to create an automated Save As function (utilizing a button or something on the document) that will save the document to the same location as the original file, as well as rename the file by reading certain fields on the document.
An example of what I would want the save file to look like would be:
LastName.FirstName.IDnumber.ReasonForVisit
The last name, first name, and ID number are text fields that would have those obvious details entered and the reason for visit would be one (or multiple) of various check boxes that would have an export value. I wanted to know if it is possible to do something like this, as well as putting a "." between each of the details to make it easier for sorting/searching purposes.
I know this would include a folder level script, I also wanted to know if there is a file level script needed or if the call script would only be attached to the button created. I would also like it to prompt the user if there is already a file with the same name (to overwrite or not)
I know how to find different paths, etc, I am just a little unsure of how to save to the same path that the document is currently in (as some users may use different locations to save/store these files), I also know that the field names would be used in the script, etc, I just don't know how best to structure the script and so on.
