Skip to main content
Adam25473408b08w
Participant
February 13, 2023
Question

Remove 'Warning: Java Window' text from app.alert window?

  • February 13, 2023
  • 2 replies
  • 3941 views

If anyone is gracious enough to assist, I'd be much appreciative!  We have a standard sub-plans form and I'm designing a popup window to accompany it.  I'm hoping someone can show me how to:

 

  1.  Remove the 'Warning: Javascript Window' text from the popup header
  2.  Add BOLD or Italics font to certain elements
  3.  Maybe add a bullet point or two?
  4.  Is there a way to put a check-box to stop showing the window after the first time?  

 

Code the way it is now:

app.alert("When finished, use the SUBMIT & EMAIL PLANS button to email the plans to subplans@ecasd.us (auto-populated) where you may also CC the sub (if you know who it is).\n\nYour sub plans should be simple to follow as the District recommends that the sub DOES NOT teach 'new knowledge' topics (i.e.- The next lesson in the unit). Reviewing previously learned material is highly recommended!", 3, 0, "ECASD Standardized Sub Plans")

This topic has been closed for replies.

2 replies

try67
Community Expert
Community Expert
February 13, 2023

2. No

3. Yes, you can include any characters you want in it, as long as it's plain-text.

4. Yes, using the oCheckbox parameter. See the API Refernce for this method for more details.

Bernd Alheit
Community Expert
Community Expert
February 13, 2023

1. Use the app.alert in a trusted function.

Adam25473408b08w
Participant
February 13, 2023

Will you please detail this further?  Otherwise, I'll do some research! 

try67
Community Expert
Community Expert
February 14, 2023

You can use a custom dialog in a trusted function.


> You can use a custom dialog in a trusted function.

That doesn't solve the issue of having to run it from a trusted context. If you don't, it will have the same warning.