NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: JHojka on December 08, 2019, 11:44:21 AM

Title: Web72 Enable button after progress is complete
Post by: JHojka 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.
Title: Re: Web72 Enable button after progress is complete
Post by: Vinnie on December 09, 2019, 12:01:51 AM
Try using the Hide Condition not the Include condition.

Title: Re: Web72 Enable button after progress is complete
Post by: JHojka 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