Hide Section or Button for a Time Period (10 seconds) - InfoPath Dev
in

InfoPath Dev

Hide Section or Button for a Time Period (10 seconds)

Last post 05-01-2017 09:28 AM by scyph. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 04-27-2017 07:03 AM

    Hide Section or Button for a Time Period (10 seconds)

    I have a form library, where the user clicks a button on the form, and a secondary submit data connection is triggered and the form is submitted to a secondary form library, while leaving the form open. This triggers a workflow to retrieve data back to the form. In order to pull the new data, I have another button (Query Button) that would query the data connection for the new information. However I would like to Hide this Query Button for approximately 10 seconds, to ensure that the workflow is given enough time to retrieve the data. Is this possible to do in an InfoPath 2013 Browser form, or are there any workarounds to achieve this?
  • 04-28-2017 08:53 AM In reply to

    Re: Hide Section or Button for a Time Period (10 seconds)

     I'm not aware of a way to do this .... I'm wondering if it might be possible in code (if this isn't Office 365) but I can't think of anything out of the box.

    Hilary Stoupa

  • 04-28-2017 11:57 AM In reply to

    Re: Hide Section or Button for a Time Period (10 seconds)

    I see a colleague of mine replied to you via email w/ a suggestion - I'm going to have him post his solution here as well.
    Hilary Stoupa

  • 04-28-2017 12:10 PM In reply to

    Re: Hide Section or Button for a Time Period (10 seconds)

    Here's the sample form.

    At the submit button, it triggers a centralized submit logic on the Submit node of the FormLogic group. Here you will see a set of actions. Basically, before the form submits, the action starts the timer, initiates the count, and gets the elapsed time.

    The query button on the other hand only gets the elapsed time. We can perform other actions using the elapsed time as a condition.

    Don Stephen Lambatin / Support Engineer
    Qdabra Software
  • 04-28-2017 12:28 PM In reply to

    Re: Hide Section or Button for a Time Period (10 seconds)

    Thank you very much, this works absolutely perfect. As always, you guys always amaze me with your solutions, especially due to the fact, you get it done without using code.
  • 05-01-2017 09:16 AM In reply to

    • scyph
    • Not Ranked
    • Joined on 08-12-2016
    • Posts 3

    Re: Hide Section or Button for a Time Period (10 seconds)

    Is it possible to attach a 2010 version of the sample form? I'm really interested in this solution!
  • 05-01-2017 09:25 AM In reply to

    Re: Hide Section or Button for a Time Period (10 seconds)

     Hi, here's an InfoPath 2010 version of the sample form.

    Don Stephen Lambatin / Support Engineer
    Qdabra Software
  • 05-01-2017 09:28 AM In reply to

    • scyph
    • Not Ranked
    • Joined on 08-12-2016
    • Posts 3

    Re: Hide Section or Button for a Time Period (10 seconds)

    Wow, thanks Don! That was super fast! Much appreciated.
Page 1 of 1 (8 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.