Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

New Here ,
Feb 13, 2023 Feb 13, 2023

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")

TOPICS
Create PDFs , JavaScript , PDF forms
3.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 13, 2023 Feb 13, 2023

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 13, 2023 Feb 13, 2023

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 13, 2023 Feb 13, 2023
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 13, 2023 Feb 13, 2023

Question - Will all users have to have this trusted function on their Adobe?   I've read through this and have researched it some more and cannot seem to get it to work... will you please write how it would look?  I've tried this all afternoon.  Don't feel bad if you don't have time.  

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 13, 2023 Feb 13, 2023

"Will all users have to have this trusted function on their Adobe? "

 

Yes

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 14, 2023 Feb 14, 2023

Interesting... is there another way to create a popup that is more benign? 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 14, 2023 Feb 14, 2023

You can use a custom dialog in a trusted function.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 14, 2023 Feb 14, 2023
LATEST

> 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 14, 2023 Feb 14, 2023

Yes. It is considered a SERIOUS security issue to remove the "Warning: JavaScript window". This is because a downloaded file could fake a login prompt, or other bad things. So you must have each user install something on their own computer to allow this weaker security.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 13, 2023 Feb 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines