Saving Forms by Default Name

U

Umesh Bagalur

Hi Pals,

I have come across this question by my PM.

I have form when open it for filling out and after fill the forms, when
saving; by default form name will be "Form1" or continuation of the series.

But the question is...

Form can be saved by custom Name format for Ex.: "idName1" and the continued
series.

Is possible please help me regarding.... how it can be implemented..

Awaiting results

Thanks and Regards,
Umesh
 
M

Michelle

Umesh

You can set the default name of the form when saving a couple ways depending
on your needs.

(1) Submitting using a datasource
(a) to Sharepoint form library - you can set the file name
(b) email - you can set the attachment name

(2) Tools>Form Options
Select the Open and Save Tab, check the Save using custom code
checkbox and then edit the code (see below for example)
(3) Tools>Submitting Forms
Select the Enable submit commands and buttons, select custom code and
then edit code (see below for example)

Via code. This example is using C# and is triggered by the OnAfterChange
event of a control:
if (e.NewValue != null && e.NewValue.ToString() != "")
{
thisXDocument.UI.SetSaveAsDialogFileName(e.NewValue.ToString());
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top