When the user clicks the file -> save, the file name defaults to form1. I
would like to dynamicaly change the form name.
I tried making a change to the OnSaveRequest event.
I was able to get the filename by calling XDocument.URI. When I tried
changing the name, I get a script error (XDocument.URI = "test".
Also want one of the fields on my form to be part of the filename. I do I
retrieve the data from the field using the script language.
Ramana - 30 Jun 2007 04:44 GMT
Hi,
yes, you can use the one of the field in your form as name of your form.

Signature
k.Ramana Reddy
http://www.autonomysystems.com
> When the user clicks the file -> save, the file name defaults to form1. I
> would like to dynamicaly change the form name.
[quoted text clipped - 6 lines]
> Also want one of the fields on my form to be part of the filename. I do I
> retrieve the data from the field using the script language.
Kalyan Reddy - 03 Jul 2007 08:22 GMT
Hello Brian
Please visit this link
http://www.infopathdev.com/forums/thread/5621.aspx
Hope this will help you.

Signature
Kalyan Reddy
Visit
www.ggktech.com
> When the user clicks the file -> save, the file name defaults to form1. I
> would like to dynamicaly change the form name.
[quoted text clipped - 6 lines]
> Also want one of the fields on my form to be part of the filename. I do I
> retrieve the data from the field using the script language.