-
i saw this tips and used it for my own ''Close Form'' button that will both save the entries and close the form using custom code.
(onClick event)
XDocument.View.Window.Close(false);
my question is, can we specify a custom filename to save when this event occurs? (by default it will be saved as ''Form<number>'' in my sharepoint library.
-
You are correct but I have tried the combination you suggested and get the same error when it tries to switch back. Thanks fo trying - any other possibilities?
''One Line at a Time'' - anonymous codeaholic
Greg McAllister
-
I have a form that has items a user can select, upon selection a Price field is updated and the user is allowed to enter a Quantity.
I have an ExtendedPrice field that has it's default value set to = Price * Quantity.
Users must be able to manually type in the extended price in order to override the defaults. Currently when they override the ...
-
I am trying to use the ''Look up values in the form's data source'' feature of a Drop-Down List, but I always get the following error:
InfoPath cannot create a new, blank form.
The form template is not valid.
InfoPath cannot open the following view: View 1
The following view file is not valid: view1.xsl
The .xsl file is not ...
-
Is it possible to have an onFocus or OnLostFocus event for controls (textbox) in infopath?
Cheers
Lee
-
O.k I got the different. I'm using a web reference so I need full trust.
I have one more question. In my form I have some dropdown list that get the values from SQL server database (Data connections of the form). When I install the form (by the MSI file) on outside machin i got problem of access to this database befor the form opened (it's ask for ...
-
Anybody has ever faced this issue.
-
I think what you are doing is
1. First switch to the print view as a rule on the button
2. Then in the onclick function PrintOut() happens
3. At the end of the onClick function you are doing a switch view back to the main view
This problems seems to be solved when when the first switchView() is also called in the code instead of calling it as a ...
-
Greg:
What is the difference between the EmailAdaptor call and the .ShowMailItem in jscript? Is there a way to call the same adaptor from jscript and will it allow me to NOT send the form as an attachemnt?
''One Line at a Time'' - anonymous codeaholic
Greg McAllister
-
I am trying to change views twice. The first change view occurs at when the user clicks on a print button. The view switches to the particular print view and then through jscript(using.PrintOut()) the form prints. Then I try to change the view in the script using the .SwitchView('''') and I get an error: InfoPath cannot execute any view-related ...