NetTalk Central

Author Topic: Web72 Enable button after progress is complete  (Read 2381 times)

JHojka

  • Newbie
  • *
  • Posts: 48
    • View Profile
    • Email
Web72 Enable button after progress is complete
« on: December 08, 2019, 11:44:21 AM »
I am using Web72 as an example. I add a button to the File progress tab. I have an include condition that is initially set to not include for this button. When the progress completes I want to include this button. I use a session value to store my new include condition (which is true). I cant get the page to refresh with this new condition. If I use the browser refresh than the button appears. What do I need to do after the progress completes to get the button to appear? Is there a way to issue a page reset? The progress knows how to disable the progress bar and I want to mimic this with a button. I tried to follow the code but cant really figure it out.

Jeff Hojka
Marathon Software Co.
« Last Edit: December 08, 2019, 11:46:30 AM by JHojka »

Vinnie

  • Full Member
  • ***
  • Posts: 175
    • View Profile
    • Email
Re: Web72 Enable button after progress is complete
« Reply #1 on: December 09, 2019, 12:01:51 AM »
Try using the Hide Condition not the Include condition.


JHojka

  • Newbie
  • *
  • Posts: 48
    • View Profile
    • Email
Re: Web72 Enable button after progress is complete
« Reply #2 on: December 09, 2019, 02:08:50 PM »
I figured it out.

You were correct to use the Hide (clarion) condition.

Then I added the following code

  if loc:progress = 100
    DO GenerateData
  END