Search - InfoPath Dev

InfoPath Dev

Search

Page 4 of 8 (79 items) « First ... < Previous 2 3 4 5 6 Next > ... Last »
  • Re: Random figure with button

    Thank you for your quick response. Still some questions: Why do I have to write &quot;&amp;&amp;&quot; in the &quot;else if...&quot; row? random = ((Math.round(Math.random() * 10)) % 2) + 4: What is the % 2 doing? Why do you add 2, 4, 6 and 8? Thanks for your patience. &nbsp;
    Posted to Code (Forum) by Joern on 08-31-2011
  • Re: Random figure with button

    In Excel I got what I want. Please find attached a screenshot for explanation: In Column C You find a couple of results. In Column B You find the corresponding cumulated probability of every result Cell G14 contains following formula: =VLOOKUP(RAND();B15:C52;2;TRUE) Is it possible to do this in code in IP 2003 so that the button click will ...
    Posted to Code (Forum) by Joern on 08-30-2011
  • Re: Random figure with button

    I got it. As Karsten said, I needed to translate not only &quot;field1&quot; into German but also &quot;myFields&quot;. Now, there is another question arising: Is it possible to weight the probability of a random integer? For instance: In 40% of the cases I receive the integer 0 or 1, in 25% of the cases I receive the integer 2 or 3, and so ...
    Posted to Code (Forum) by Joern on 08-30-2011
  • Re: Random figure with button

    Hello Karsten, thank you for translating. Well, in the meanwhile I assumed by myself,&nbsp;that the mentioned&nbsp; &#39;Copy XPath&#39;-possibility is for IP 2007, since I did not find any button to copy it. Is there any possibility to see the XPath of a field in IP 2003?
    Posted to Code (Forum) by Joern on 08-30-2011
  • Re: Random figure with button

    Thank you so much for your response. Unfortunately, I do not see the &#39;Copy Xpath&#39;-possibility you advised me to select. Thus, I took your (&quot;/my:myFields/my:field1&quot;) and simply translated &#39;field&#39; into German, but then I receive following message: &#39;XDocument.DOM.selectSingleNode(...)&#39; is null or no object. Any ...
    Posted to Code (Forum) by Joern on 08-29-2011
  • Re: Random figure with button

    Thanks for your response. Well, it&#39;s a form that the user can download from Sharepoint. Then, he&#39;s sending his input via e-mail to me. I assumed to put code in the Microsoft Script editor.&nbsp;And how do I put the random integer in a certain field, let&#39;s say in field1? &nbsp;Thanks in advance for your effort.
    Posted to Code (Forum) by Joern on 08-28-2011
  • Random figure with button

    Hi All, &nbsp;unfortunately I am absolutely not familiar with programming in InfoPath. I want to have a button that generates a random integer between 0 and 10 and sets it in another field. Do you have any idea how I can do this in IP 2003? &nbsp; Thank you very much in advance for your efforts. &nbsp; Cheers, Joern
    Posted to Code (Forum) by Joern on 08-26-2011
  • Re: easy: repeating table gets unique values from repeating section

    I know, this thread is quite old bur is it already solved? I&#39;m interested in a summary of a repeating table in an other repeating table as well.
    Posted to Newbie Questions (Forum) by Joern on 05-26-2011
  • Re: Sum if with infopath

    Thanks Hilary. How is the repeating table populated? I couldn&#39;t find any data connection...
    Posted to Newbie Questions (Forum) by Joern on 05-25-2011
  • Re: Sum if with infopath

    Is there a way to open your form with IP2003, Jimmy?
    Posted to Newbie Questions (Forum) by Joern on 05-25-2011
Page 4 of 8 (79 items) « First ... < Previous 2 3 4 5 6 Next > ... Last »
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.