Search - InfoPath Dev Sign in | Join | Help InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads Search More Search Options Page 7 of 49 (487 items) « First ... < Previous 5 6 7 8 9 Next > ... Last » Re: Generating a unique ID (codeXX+codeYY+autoNumber) Hi, Yes, you can get the few letters from the input of a text field using Substring function. It contains three arguments. It returns the substring of the first argument starting at the position specified in the second argument and the length specified in the third argument. After getting that, use concat function to concatenate the letters with ... Posted to Newbie Questions (Forum) by swathip on 05-11-2009 Re: InfoPath and 'Default Value' on a field changing Hi, I have verified the same as you mentioned. It is working fine for me. Can you check are you setting that value from any where other than default value. Posted to Newbie Questions (Forum) by swathip on 05-07-2009 Re: Generating a unique ID (codeXX+codeYY+autoNumber) Hi, You can get the unique id for the submitted forms using getlistitems method which explained in the below link. http://www.infopathdev.com/blogs/agni/archive/2006/05/15/Query-for-Items-in-SharePoint-Form-Library-Using-GetListItems-Web-Method.aspx Posted to Newbie Questions (Forum) by swathip on 05-07-2009 Re: Skip Validation On Submit For Hidden Fields Hi, When will you show that field in the form to the user? Use the same condition for validating the field. For example, you are showing the hidden field when field 1 is not blank then add the validation as field1 is not blank and hidden field is blank. If field is present will return true if it is there in template.xml rather than checking in ... Posted to General (Forum) by swathip on 05-07-2009 Re: Getting a validation error on a textbox Hi, Once verify the data type of the field in which you are entering the data. If you enter the invalid data then it will show the red dotted line. Make sure that the data you are entering in that field is valid. Posted to Newbie Questions (Forum) by swathip on 05-05-2009 Re: Finding Index Of Repeating Section Hi, You can get the current row index using the following expression. count(current()/preceding-sibling::my:group2) +1 Use the above expression in an expression box placed in the repeating section. Posted to Newbie Questions (Forum) by swathip on 05-04-2009 Re: InfoPath 2003 / JScript / pass node to variable Hi, Use the following code. var Lockbox = null; var Cash_Deposit_Date = null; var Batch_Number = null; function StoreFields() { Lockbox = XDocument.DOM.selectSingleNode("dfs:myFields/dfs:dataFields/d:tbl_GC100/@Lockbox").Text; Cash_Deposit_Date = ... Posted to Code (Forum) by swathip on 05-04-2009 Re: How to Fillter Data Hi, Replace the 3rd line code with the following code line to filter the records. XPathNodeIterator xiEmp = xnEmp.Select("/dfs:myFields/dfs:dataFields/dfs:LeaveInfo[@ApprovalStatus = ‘Approved']", this.NamespaceManager); Posted to General (Forum) by swathip on 04-27-2009 Re: InfoPath 2003 Clearing text (data) fields Hi, I think you are setting the values for secondary data source. For that first get the secondary dom and from that get the nodes and set the values. IF you check out you will get ‘XDocument.DOM.selectSingleNode("dfs:myFields/dfs:dataFields/d:tbl_GC100/@Lockbox")' value as null. Posted to Newbie Questions (Forum) by swathip on 04-26-2009 Re: Change Default Value of Text Box Hi and welcome to forums, You have two ways. a. Store the string variable in to a hidden field in the form. And add a rule to the button to set the value. Follow the below steps to do that. 1. Go to button properties. 2. Click on Rules. 3. Click Add then click Add ... Posted to Code (Forum) by swathip on 04-26-2009 Page 7 of 49 (487 items) « First ... < Previous 5 6 7 8 9 Next > ... Last » Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.