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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you have any questions or need access: Contact myibi@ibi.com


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Resource Layout Alerts?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Resource Layout Alerts?
 Login/Join
 
Platinum Member
posted
If I have an html page where the user selects a parameter being to my report is there any way to add an alert if a parameter wasn't select?

I kind of read that Javascript was used to add alerts, but I am not sure where. Can anyone help?

Thank you.
 
Posts: 178 | Registered: May 11, 2005Report This Post
Member
posted Hide Post
I've always used a snippet like this in the click event of the 'Run' button (or whatever runs the report). It will exit the function if the user hasn't selected a quarter, and it won't run the FEX.

if ((document.paramform.QTR.value=='0')) {
alert("Please select a QUARTER.");
return
}
 
Posts: 5 | Registered: May 23, 2004Report 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     Resource Layout Alerts?

Copyright © 1996-2020 Information Builders