-
Hi Khurram, I don't know any limitation about that. I suggest you to put your items on an xml files and insert it as a part of your template, after that you can bind your drop down to that data connection.
-
Hi, it's the login of the windows session.
-
Hi, I dont think you can disable a field from code. I suggest you to remove your rule or default value and do it with code. I remark that If you remove a row of a repeating table rules never fires.
-
Hi, I think there is no size limitation of your xml file. I already saw xml file of 5Mb work properly it's just take more time to load.
-
Hi, username() function allow to display the local user of the current windows session. For your rules :@Name [Form1_userAlias=@alias], it's probably set the name of the current login.
-
What is the type of your field? if it's a date time it's normal you have to set something like "YYYY:MM:DDTHH:MM"
-
Hi, it's easier if you have 2 fields one for the firstname and another for the last this formula is not full proof it only work for this pattern:"firstname lastname"
concat(substring(field1; 1; 1); substring(field1; string-length(substring-before(field1; " ")) + 2; 1); substring(now(); 3; 2); substring(now(); 6; 2); ...
-
Hi oliviar, I help you on the second part of your form because I'm not certain on the format of your name field.
For the pattern:YYMMDDHHMM, you can use:
concat(substring(now(); 3; 2); substring(now(); 6; 2); substring(now(); 9; 2); substring(now(); 12; 2); substring(now(); 15; 2))
-
Hi, have you try to use the form cache to get your xsd file :string cacheID = this.Application.ActiveWindow.XmlForm.Template.CacheId;
string path = this.Application.GetFormTemplateLocation(cacheID);
http://msdn.microsoft.com/en-us/library/microsoft.office.infopath.application.getformtemplatelocation(VS.80).aspx
-
If you start a new form you still have the problem ?