Search - InfoPath Dev

InfoPath Dev

Search

Page 222 of 259 (2583 items) « First ... < Previous 220 221 222 223 224 Next > ... Last »
  • Re: Ignoring Case Sensitivity on filtering data

    It&#39;s not very pretty, but you can perform a non-case sensitive comparison by converting both sides of the comparison (or one side if the other is a constant) to lower case. &nbsp;So if I wanted the filter to include rows where field1 = field2 (ignore case), I could use the formula translate(my:field1, &quot;ABCDEFGHIJKLMNOPQRSTUVWXYZ&quot;, ...
    Posted to General (Forum) by Jimmy on 05-12-2009
  • Re: How to indicate a file has been attached using the Attach File control

    Actually, checking for blank/not blank should do the trick (I just tried it).&nbsp; The rule should be specified on the file attachment&#39;s field, not on the field you&#39;re trying to set.&nbsp; Could that possibly be where you&#39;re going wrong? Also, please make sure that a formula for the default value of your yes/no field isn&#39;t ...
    Posted to Controls (Forum) by Jimmy on 05-08-2009
  • Re: Line break

    By any chance are those fields in a repeating field of some sort, or are they all separate fields throughout the data source.&nbsp; Could you post your formula in its current form? &nbsp;When you added the XML file, did you leave the option &quot;Embed this as a resource file&quot; or something like that checked, or did you uncheck it?&nbsp; ...
    Posted to General (Forum) by Jimmy on 05-06-2009
  • Re: Line break

    Did you make sure to set the text box as a multi-line text box (in its properties)?
    Posted to General (Forum) by Jimmy on 05-04-2009
  • Re: Line break

    I think the main trouble here is that Expression Boxes do not support line breaks, so you&#39;ll probably need to use a textbox.&nbsp; There are a few ways to go about this.&nbsp; You could create a textbox that&#39;s bound to a field in your main data source, and set its default value to be the expression you&#39;re using above.&nbsp; If you ...
    Posted to General (Forum) by Jimmy on 04-30-2009
  • Re: Repeating table with alternate row color

    There is no way to set row colors using just code and anything&nbsp;you could do to color alternating rows with code&nbsp;would be more complicated than not using code. I would recommend using conditional formatting with two conditions: position() mod 2 = 1&nbsp; - color for odd rows position() mod 2 = 0&nbsp; - color for even ...
    Posted to General (Forum) by Jimmy on 04-30-2009
  • Re: Formatting text field to all caps

    You can do this by placing a rule on the field: Set a field&#39;s value (select the field itself) Formula: translate(., &quot;abcdefghijklmnopqrstuvwxyz&quot;, &quot;ABCDEFGHIJKLMNOPQRSTUVWXYZ&quot;)
    Posted to Newbie Questions (Forum) by Jimmy on 04-30-2009
  • Re: Field value to subject line

    I believe it would actually be Email.Subject = XDocument.DOM.selectSingleNode(&quot;/my:myFields/my:field6&quot;).text; without the &quot;this,&quot; but otherwise that should work if the XPath is correct.
    Posted to Code (Forum) by Jimmy on 04-30-2009
  • Re: Line break

    Hello Mr. Palmer, &nbsp;Adding line breaks to an InfoPath field is a bit tricky indeed. Greenant&#39;s solution works if you are using code and a rich text field, but if you are not using a rich text field (and just using a regular string field), then there is a relatively simple trick to get those newlines.&nbsp; I can&#39;t find the post on ...
    Posted to General (Forum) by Jimmy on 04-29-2009
  • Re: Alternating text value in Repeating Table

    If you don&#39;t need the &quot;Agent&quot; and &quot;Guest&quot; labels actually stored in the XML (i.e. their meaning is assumed based on their order in the list), you could try something like in the attached template.&nbsp; I&#39;ve simply used conditional formatting (right click the &quot;Agent&quot; and &quot;Guest&quot; expression boxes and ...
    Posted to Newbie Questions (Forum) by Jimmy on 04-29-2009
Page 222 of 259 (2583 items) « First ... < Previous 220 221 222 223 224 Next > ... Last »
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.