-
Try out this thread: http://www.infopathdev.com/blogs/greg/archive/2005/06/08/Display-Only-Unique-Options-in-a-List.aspx should give you an idea how to do it.
-
I just tried it with a usual (not browser enabled) InfoPath form and it works. Here a little walkthrough, if you want you can give it a try. Open Visual Studio, click new project and Select "Class Library". Below the code for the library: using System; using System.Windows.Forms; namespace MessagePopUp { public class PopUp { public ...
-
Hi, I actually have never worked with browser enabled form but you could try to write your own small assembly which implements windows.forms. Code a small method to which you can pass a string value (message you want to pop up). Now in your infopath project add your created .ddl as a reference and call the "shwomessage" method everytime ...
-
I don't know exactly what you wanna achieve but you could use the OnAfterChange event of your field. Double click your control, click data validation and in the drop down select OnAfterChange event and then edit code. Not sure if that helps you, could you please provide some more detailed information ?
-
I would say that it is domain\username. You can actually check how the correct format is if you go to tools->user roles->click add->select the usernames checkbox->click on the button to the right and search for a user. after inserting you'll see the format in the user names field. Actually i believe that you tried that already so ...
-
Hi, should be doable like this: var objDataObject = XDocument.DataObjects("name of your secondary data source"); objDataObject.Query(); Does this help ?
-
Hi all, does anybody know if it is possible and how to minimize an infopath form into the system tray ?
-
Yes this is possible. A few steps to perform though: In my scenario I have a repeating table with only one textbox control, the xPath is the following my:myFields/my:group1/my:group2/my:field1 Double click your repeating table and deselect the "Show insert button and hint text" check box Drag a button into your repeating section, double ...
-
Yes there is a way to do this easily. From within you button OnClick event use something like the following: var error; error = XDocument.Errors.Count; if(error != 0) XDocument.UI.Alert("You have not filled all requried fields"); else.... Errors.Count won't be zero until all your fields which are set to mandatory or have data ...
-
Could you be a bit more specific about what you want. Just guessing now:
If you have a textbox control in your repeating table double click the control and under Data Type select Whole Number or Decimal.
If you want to have something like a counter in your repeating section just drag an expression box into it, click the fx button, select insert ...