-
Hi guys, i need an advice of yours:)
I'd like to make user save my form with a specified name. My idea is not to allow saving the form using the buttons from the menu, but to add a button and to implement the saving procedure by code. I don't think it's hard...but to ask the directory to the user i need to use an inputbox (since I MUST use ...
-
I'm using XML spy...well, my goal is to find an easy way to add <xsd:maxLength value=''X''/>, without modifying the schema. No matter, it's only curiosity :)
-
Hi franck,
my goal would be to set the maxLength attribute in xml schema file associated to the form :)
-
How can you set simply the maximum length of a text field containing strings? Thank u :)
-
You understood good Thierry but i'm not so smart as you becouse I'm not sure to have understood your workaround :)
Do you suggest me to use as values the display values or descriptions (Monaco,Rio,Marseille,Santiago) and add a rule to set the value of original variable with the number whose description is selected in dropdown (1 for Monaco, 2 for ...
-
Hi,
to create the file open dialog I usually use visual studio .net. After installing InfoPath 2003 Toolkit for Visual Studio .NET (the link is on the right of main page of this site), you can create an Infopath Templete inside visual basic and you can add to the templete the .net code...it's an integrated environment, i like it. :)
-
What a strange thing happened to me today! In the Form file, I have a structure like ...
-
Hi,
you should add a button to the form, then double-click on it, Edit from Code and write your code in .net to open the dialog. Pay attention to the security issues: maybe your form might be full trust.
-
Yeah Matt, I disabled the check box ''Save and Save As'' in the ''Open and Save'' panel of the Form Option and I added a button with only one line:
XDocument.SaveAs(''FixedPath\FixedName.xml'')
Now the form can be saved only with this name....anyway it can be renamed or replaced using operative system commands. This is the result I've obtained by ...
-
I don't remember very well, but I suppose someone has just posted something similar to this...if so, forgive me, please; I'd like to know if I can set the name and the path of a form while saving it...i think that I have to use the OnSaveRequest Event...
Maybe i can use the code in this ...