Form Timeout - InfoPath Dev
in

InfoPath Dev

Form Timeout

Last post 09-29-2005 11:02 PM by Patrick Halstead. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 09-20-2005 12:36 AM

    Form Timeout

    Hi there,

    Javascript has a method called setTimeout("functionname", timeout).

    I'm programming the infopath backend using JavaScript, but it seems that it doesnt support the aforementioned setTimeout functionality.

    I want to set a timeout mechanism so that when one user opens a form too long, it will automatically submit and close the form.

    Does anyone know how to achieve the similar result in infopath jscript?

    Thanks.
  • 09-20-2005 11:58 PM In reply to

    Hi Potpourri,
    This is a wild question. I suppose you could do some kind of polling from the taskpane to count ticks and then call a function in the form to submit and close. The taskpane should support the full jscript dictionary. You could show the countdown in it too. :) Good luck!

    Patrick Halstead [InfoPath MVP]
    InfoPathDev
    Patrick Halstead
    Project Manager at Qdabra
  • 09-21-2005 07:31 PM In reply to

    Hi Patrick!

    Erm, I'm not really familiar with coding in taskpane.
    Last time I saw an example is the context-sensitive help showing on the taskpane sample in this forum.

    Could you point how to start on this?

    thanks :)
  • 09-29-2005 07:41 PM In reply to

    any help, any one :(
  • 09-29-2005 11:02 PM In reply to

    There should be an MSDN lab on the taskpane. If not, we can post an example.

    Patrick Halstead [InfoPath MVP]
    InfoPathDev
    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.