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 Use our Google Custom Search for best site search results. Search More Search Options Page 1326 of 1327 (13266 items) « First ... < Previous 1323 1324 1325 1326 1327 Next > Re: Avoid hardcoding of the Connection string in the code associated with infopath form template while making a data connection Hi: You can create a setting to store the information, which will place it in an app.config file in your project. To add the setting, go to Project/ ProjectName Properties in VSTA. Select the settings tab. If you have no current settings configured, there will be link in the center of the page you can click to create the app.config file. Now ... Posted to Data Connections (Forum) by Hilary Stoupa on 06-23-2008 Re: Want to SUBMIT form with the contents of 2 fields from the form. I can't think of a way to do that with data validation -- even if you format the field to display the day of the week the value of the field will be the date. It could be done with code, of course, if you are not adverse to that approach. Posted to Newbie Questions (Forum) by Hilary Stoupa on 06-23-2008 Re: Want to SUBMIT form with the contents of 2 fields from the form. Whoops! I see I was a bit late to the party! :) Posted to Newbie Questions (Forum) by Hilary Stoupa on 06-23-2008 Re: Want to SUBMIT form with the contents of 2 fields from the form. Hello: You can do this using the concat function to concatenate your fields (along with the .xml extension) and translate to remove the dashes from the date. Select the Insert Formula button next to the text box for the name. In the Insert Formula window, select Insert Function. From the available Text functions, select concat. The first field ... Posted to Newbie Questions (Forum) by Hilary Stoupa on 06-23-2008 Re: clearing dropdown list items Hello: I am a little confused as to exactly what you want, but I would guess that if dropdown list 1 = Software, you would like Ali and Guler in ddl 2, and if ddl 1 = Hardware, you would like Fatih, Omer, and Mesut in ddl 2. Is that correct? It sounds like you have your dropdowns set up correctly, filtering 2 on the choice made in 1. If you add ... Posted to General (Forum) by Hilary Stoupa on 06-23-2008 Re: Allow user to enter info in a drop down list Hello: InfoPath 2007 has a combo box control which will allow a user to select from a list or type a new value. This feature is not supported for browser forms, however. In Infopath 2003, I have used a text box and a drop down box in tandem with conditional formatting to simulate a combo box. The drop down would have an entry labelled "Add ... Posted to Newbie Questions (Forum) by Hilary Stoupa on 06-23-2008 Re: repeating table add rows programaticly Hello: Here is a sample that will add rows to a repeating table, with the following caveats -- the table will already need to exist on your form with a single blank row. Also, there is no error handling in this code, and nothing to handle for a user entering something that isn't an int into the text box. However, I think it might be enough to ... Posted to Newbie Questions (Forum) by Hilary Stoupa on 06-23-2008 Re: Set the value of a field to a view name The code in my first post is C#. The function you have mentioned is jscript. For jscript, the code would be: var viewName = XDocument.View.Name; var field = XDocument.DOM.selectSingleNode("/my:myFields/my:field1"); field.text = viewName; This can go in your switch view event and will display the name of the view in field 1. Posted to Newbie Questions (Forum) by Hilary Stoupa on 06-23-2008 Re: Template Part schema changes when inserted into a form? Hello: Were you ever able to resolve this? I replicated this and had the same results. I then updated Office 2007 to SP 1, just in case there was a fix in there, but still had the same results. I looked at the source files for the template part, and saw that the .ict file had the following line in it: <xsl:when ... Posted to General (Forum) by Hilary Stoupa on 06-22-2008 Re: Button for saving, and code that goes with it... Hello: If you haven't already set your preferred code language for the form, you may want to do that first (in InfoPath 2007, go to Tools, Form Options, Programming). After you add your button to your form, double click it, and give it a Label and a meaningful ID. Then select the Edit Form Code button. VSTA will open and you can add code to ... Posted to Code (Forum) by Hilary Stoupa on 06-21-2008 Page 1326 of 1327 (13266 items) « First ... < Previous 1323 1324 1325 1326 1327 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Use our Google Custom Search for best site search results.