Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] How to stop run Deferred option from Javascript?
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] How to stop run Deferred option from Javascript?
 Login/Join
 
Member
posted
HTML has dates and Run Deferred option. I need to give an alert if its more than 12 months and defer should not run. How to do stop the same?

Return false; in Javascript didnt work!

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 7.7.3
Windows, All Outputs
 
Posts: 11 | Registered: September 01, 2015Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Are you actually running WebFOCUS 7.7? I'm not sure if I understand the question.


WebFOCUS 8206, Unix, Windows
 
Posts: 1720 | Location: New York City | Registered: December 30, 2015Reply With QuoteReport This Post
Virtuoso
posted Hide Post
As far as I understand your question the answer is that you need to validate the selected period not to be more than 12 months, send an error to the user and stop the propagation

As for javascript, it all depend how it is coded (and in which function)


WF versions : Prod 8.2.0.1M gen 240, Dev 8.2.04 gen 48, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2236 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport This Post
Member
posted Hide Post
below html code to run Deferred mode. Its calling Run deferred mode internally and i am unable to control it from JavaScript.

input type='hidden' name='IBFS_random' id='IBFS_random' value=''
input type="hidden" name="IBFS1_action" id="IBFS1_action" value="runItemDeferred"
input type="hidden" name="IBFS__methodName" id="IBFS__methodName" value="runItemDeferred"
input type="hidden" name="IBFS_path" value="Path/file.fex"

how to run file in deferred from JavaScript code instead of HTML code??

This message has been edited. Last edited by: Yashwanth,


WebFOCUS 7.7.3
Windows, All Outputs
 
Posts: 11 | Registered: September 01, 2015Reply With QuoteReport This Post
Virtuoso
posted Hide Post
What version of WebFOCUS are you running?


WebFOCUS 8206, Unix, Windows
 
Posts: 1720 | Location: New York City | Registered: December 30, 2015Reply With QuoteReport This Post
Expert
posted Hide Post
How about using the builtin Calendar Control with a limit of 12 months instead of JavaScript? That would prevent the possibility of the users entering any date beyond 12 months.


   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Most recent: 8204 Gen 48 in Test and Production.
 
Posts: 3045 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] How to stop run Deferred option from Javascript?

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.