I have a form which has several fields. Out of those one field is called CustomerName. Is it possible to save the file in a paricular file name. Like :
"Customer Name 'Today's Date'". When the user tries to save it or save as it it will be in the same format that I have told.
Just addition to that, while submitting the file as PDF is it possible to change the file name dynamically by taking some value from the form itself ?
Check this articles.
You only can change the file name through the SaveAs function in a trusted enviroment (folder level script).
When you want to submit the form with a different name, you have to save it first.
Could you please where to put this folder level script and in which event ? I do not need a SaveAs button. I want this script should fire when I submit the PDF.As I have said the file should be saved by taking data from the CustomerName and appending it to the current date and time. Could you please give a sample form on this ?
to get in touch with folder level scripts, please read this tutorials first.
As metioned before, you have to save the form with a new file name before you submit it.
Otherwise the file name cannot be changed.