Search - InfoPath Dev

InfoPath Dev

Search

Page 5949 of 11491 (114909 items) « First ... < Previous 5947 5948 5949 5950 5951 Next > ... Last »
  • Re: Is it possible to create a 'Save' custom button using code in a browser enabled form?

    You should be able to create a button with the action &#39;Save &amp; Close&#39; this will ask the user for a save location (if it&#39;s a new form) or save over the top of the form wherever they currently have it. The same effect (without the automatic close) would be if they select File &gt; Save or File &gt; Save As &nbsp;If you must use code ...
    Posted to Code (Forum) by Skarn on 07-17-2010
  • Re: Execute a function when selecting a option button

    I think I understand. You want the drop down box to only contain the values which are relevant to certain condition. But we need more information about the condition - does it change depending on what the user enter earlier in the form? Maybe you want it to be based on their logged in user name? Rather than looking for a &#39;click&#39; event - ...
    Posted to Code (Forum) by Skarn on 07-17-2010
  • Re: Submit button

    You could dump the XDocument.xml property to a text file - but I don&#39;t know how you would &#39;remove&#39; the user&#39;s access - you&#39;d have to adjust file permissions?? Perhaps you could use a shell command to cacls.exe (could be dangerous). Another way, if superficial &#39;hiding&#39; from user is suitable - before saving to file you ...
    Posted to Code (Forum) by Skarn on 07-17-2010
  • Re: Button To Save Document

    I can&#39;t/don&#39;t use C# (or whatever it is) in my forms - but you could try the same concept I use to &#39;submit a form to a file&#39;. Use an object model like File System Object to create a text file and just save the XDocument.xml property to it. Tada.
    Posted to Code (Forum) by Skarn on 07-17-2010
  • Re: How to Show/Hide File Attachments Fields in Repeating Tables (With Sections?)

    Two attachment controls bound to the same field. Put them both in the same place in the repeating section/table. Make one &#39;read only&#39;. Put conditional formatting on them to make the &#39;read only&#39; one invisible when the condition isn&#39;t met and the &#39;non-read only&#39; one invisible when the condition is met. No extra sections ...
    Posted to Code (Forum) by Skarn on 07-17-2010
  • Re: Getting corrent user

    I had similar problems in my workplace - the Network object would not be created (permission denied when I debugged) but Infopath reports no error when the form was opened - just an empty field. &nbsp;I have 2 solutions I used - get user to enter their login name into a field - then use the &#39;IsCurrentUser&#39; function of Infopath to validate ...
    Posted to Code (Forum) by Skarn on 07-17-2010
  • Re: infopath submitted xml files how to merge into one file

    If they are all from the same Infopath template you could use the built in Infopath merge function (File &gt; Merge forms).
    Posted to Code (Forum) by Skarn on 07-17-2010
  • Re: Jscript error: permission denied

    Cheat - try jScript sendKeys to send &#39;^p&#39; and &#39;^s&#39; (Ctrl+P and Ctrl+S). Doesn&#39;t require fulltrust (from what my experience has been). Note that Ctrl+S might not do anything if no changes has occured in the form - maybe your could do something with a &#39;XDocument.isDirty()&#39; check.
    Posted to Code (Forum) by Skarn on 07-17-2010
  • Re: attaching a file to xml

    This might be a &#39;lateral&#39; idea - but why not add a view to your template which has two fields displayed and one&nbsp;&#39;support&#39; field. The first field should hold your &#39;xml snippet&#39; (just set in code the way you currently save to file&#39; and the second a file attachment field. Now have a button which sends the form by ...
    Posted to Code (Forum) by Skarn on 07-17-2010
  • Re: Select top three rows from secondary database in repeating table.

    Could you make an additional secondary data source (retrieve values type) and ask it to retrieve the values from the table with the user names and the dates? This would be ok for an SQL database - not sure on Sharepoint. Then set a filter on the secondary datasource which is based on the currently selected value of the user name and requery it ...
    Posted to Code (Forum) by Skarn on 07-17-2010
Page 5949 of 11491 (114909 items) « First ... < Previous 5947 5948 5949 5950 5951 Next > ... Last »
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.