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 2 of 3 (30 items) < Previous 1 2 3 Next > Re: Limit Size of Input in Rich Text Box You could try to add datavalidation to a field. For example: field1 does not match pattern ([a-zA-Z0-9])* Now the textfield will only accept a-z, A-Z and 0-9. Ofcourse this doesn't fix the 'special characters', but in a way japanese and chinese characters are special characters too. Albert Posted to General (Forum) by Albert on 04-25-2008 Re: How to access MainDataSource Programmatically Hi, read : http://msdn2.microsoft.com/nl-nl/library/aa167871(en-us,office.11).aspx and http://msdn2.microsoft.com/en-us/office/aa905435.aspx All the information you need is there, you just have to look for it. Good luck. Posted to General (Forum) by Albert on 04-25-2008 Re: How do I access the Form's Dirty flag for conditional formatting, ideally without using code? Hello, Good news if you use InfoPath 2007, this namespace is allready declared in a new InfoPath 2007 template, so you can skip that. If you use(d) InfoPath 2003 to create the template you probably made mistake adding the namespace declaration to the manifest.xsf file. An example: The namespace in manifest.xsf: ... Posted to General (Forum) by Albert on 04-25-2008 Re: Fill a drop down list base on another You can add a filter to the second dropdownlist. Only display the items where the text in department dropdownlist is equal to the department in your secondary datasource. Posted to Controls (Forum) by Albert on 04-25-2008 Re: Word Wrap / Alignment in Button Control? And also change characters (the bold one: concat("hi", xdXDocument:GetDOM("characters")/characters/@crlf, "there")) into the name of your secondary datasource, most likely buttonstyle. If you have more knowledge of what you doing you might be able to solve more problems, so here we go: The text on the button is ... Posted to Controls (Forum) by Albert on 04-24-2008 Re: Word Wrap / Alignment in Button Control? If you really want a button with multiple lines, do the following: Create a new xmlfile with (kudos to the guy who though of this) <?xml version="1.0" encoding="UTF-8"?> <characters cr="&#xD;" lf="&#xA;" ... Posted to Controls (Forum) by Albert on 04-18-2008 Re: Add records to repeatingTable First of all, when inserting rows like this its better to use last(), then you are sure the last inserted row is selected. Check http://www.w3schools.com/XPath/xpath_syntax.asp for syntax. About the default value, im not sure. I'm thinking about two things: The actual element/attribute doesn't exist in the underlying ... Posted to Controls (Forum) by Albert on 04-18-2008 Re: Add records to repeatingTable thisXdocument.View.ExecuteAction("xCollection::Insert", xmlToEdit); To determine xmlToEdit look at the advanced tab of the properties of the repeating group. This only works for a specific view. Posted to Controls (Forum) by Albert on 04-18-2008 Re: Send the form by email by code There are atleast three ways in InfoPath 2003 to send an email from code (jscript): //Method one (this also sends the current view) http://www.infopathdev.com/forums/p/5780/27701.aspx#27701 //Methode two (needs an email dataconnection) function EmailWithData(dataAdapterName, to, CC, subject, intro, ... Posted to General (Forum) by Albert on 04-17-2008 Re: Switch view before exporting and submitting Hi, When calling the Export method from the CurrentView object in InfoPath 2007 the printview instead of the CurrentView is exported. This is undocumented (and unnatural imho) behaviour. I don't know about InfoPath 2003, but you could try to specify a printview and not call thisXDocument.View.SwitchView("Print View") Might ... Posted to Views (Forum) by Albert on 04-17-2008 Page 2 of 3 (30 items) < Previous 1 2 3 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.