Remove 'Warning: Java Window' text from app.alert window?
Copy link to clipboard
Copied
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:
- Remove the 'Warning: Javascript Window' text from the popup header
- Add BOLD or Italics font to certain elements
- Maybe add a bullet point or two?
- 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")
Copy link to clipboard
Copied
1. Use the app.alert in a trusted function.
Copy link to clipboard
Copied
Will you please detail this further? Otherwise, I'll do some research!
Copy link to clipboard
Copied
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
"Will all users have to have this trusted function on their Adobe? "
Yes
Copy link to clipboard
Copied
Interesting... is there another way to create a popup that is more benign?
Copy link to clipboard
Copied
You can use a custom dialog in a trusted function.
Copy link to clipboard
Copied
> 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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.

