Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


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

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[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, 2015Report 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: 1853 | Location: New York City | Registered: December 30, 2015Report 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.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report 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, 2015Report This Post
Virtuoso
posted Hide Post
What version of WebFOCUS are you running?


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report 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.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

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-2020 Information Builders