Search - InfoPath Dev

InfoPath Dev

Search

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&#39;t&nbsp;fix the &#39;special characters&#39;, but in&nbsp;a way japanese and chinese characters are&nbsp;special characters too. &nbsp; Albert &nbsp; &nbsp;
    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&nbsp;and http://msdn2.microsoft.com/en-us/office/aa905435.aspx&nbsp;All the information you need is there, you just have to look for it. Good luck. &nbsp;
    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. &nbsp;
    Posted to Controls (Forum) by Albert on 04-25-2008
  • Re: Word Wrap / Alignment in Button Control?

    And also change&nbsp;characters (the bold one: concat(&quot;hi&quot;, xdXDocument:GetDOM(&quot;characters&quot;)/characters/@crlf, &quot;there&quot;)) 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) &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;characters &nbsp;&nbsp;&nbsp; cr=&quot;&amp;#xD;&quot; &nbsp;&nbsp;&nbsp; lf=&quot;&amp;#xA;&quot; &nbsp;&nbsp;&nbsp; ...
    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&nbsp;for syntax. About the default value, im not sure. I&#39;m thinking about two things: The actual element/attribute doesn&#39;t exist in the underlying ...
    Posted to Controls (Forum) by Albert on 04-18-2008
  • Re: Add records to repeatingTable

    thisXdocument.View.ExecuteAction(&quot;xCollection::Insert&quot;, xmlToEdit); &nbsp; To determine&nbsp;xmlToEdit look at the advanced tab of the properties of the repeating group. This only works for a specific view. &nbsp;
    Posted to Controls (Forum) by Albert on 04-18-2008
  • Re: Send the form by email by code

    There are&nbsp;atleast&nbsp;three&nbsp;ways in InfoPath 2003 to send an email from code (jscript): &nbsp; //Method one (this also sends the current view) http://www.infopathdev.com/forums/p/5780/27701.aspx#27701 &nbsp; //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)&nbsp;behaviour. I don&#39;t know about InfoPath 2003, but you could try to specify a printview and not call thisXDocument.View.SwitchView(&quot;Print View&quot;) 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.