Xfa.host.messageBox or app.alert not working some machines
Hi,
We've a PDF form with alert messages on a button click. We've written a function in a script object which is called on button click. This PDF is working fine on most of the machines but does not work few machines. On all machines, we have same adobe reader version (9.4.0). The machines with this problem have similar configuration as others (windows XP, no other adobe software installed etc.). When we look at the javascript console, it gives messages like the function is not available. What could be the issue here. I think if we reinstall/repair the adobe reader, probably it will resolve the issue. But before doing that we want to understand what exactly the problem could be. Has anybody seen this error before?
Thanks
Ram
That's odd...
Does that same happen with a blank template containing nothing but a button with a click event:
app.alert("click");
Similar Messages
-
my OS 06 is not supportive to download any application from website becouse BB app word not working. some one help me to get a new version of OS plz either it my work
can you explain what you mean by "BB app word not working" ?
The search box on top-right of this page is your true friend, and the public Knowledge Base too: -
How to change appearance of xfa.host.messagebox
Is there anyway to apply a different look to the xfa.host.messagebox ? It is pretty, um what is the word ..... -- ugly. That is the word
Any help would be very appreciated.
ThanksHi,
The url that Steve gave above takes you to the Help file for LC Designer.
You put the messageBox line within your script when you want to alert the user to something or to give them a choice. for example you could put the script within a calculate event to let the user know the value of a hidden variable:
xfa.host.messageBox("This is a message", "This is a title", 3, 1);
The help file sets out the four different options for the last two parameters (which can be used in any combination).
xfa.host.messageBox("This messageBox uses:\n\nParameter 3 = 1 (Warning) and Parameter 4 = 1 (OK, Cancel)", "Hello World!", 1, 1);
The "\n" will insert a return (new line).
Scripting for additional features within a dialogue window can be achieved using the Javascript Dialog Object; however this is getting quite advanced. The AcroDialog product from Windjack Solutions does make this process easier.
The messageBox returns a number depending on which button the user clicks:
Returns 1 if the user clicks OK;
Returns 2 if the user clicks Cancel;
Returns 3 if the user clicks No;
Returns 4 if the user clicks Yes;
On this basis you can script actions depending on which button the user clicks in your messageBox, by asigning the returning value to a variable and then looking at the value of the variable. For example in the click event of a button on the form:
var nButton = xfa.host.messageBox("You are about to delete this row.\n\nDo you want to continue?", "DELETE ROW", 3, 2);
if (nButton == 4) // Hitting the Yes button returns 4
_dyndetail.removeInstance(this.parent.index); // proceed with delete
The above deals with LiveCycle Designer. If you are scripting exclusively in Acrobat then you could use the app.alert(); method, to display your message.
Hope this helps,
Niall -
Most of the default Mac Apps does not work after Mavericks Upgrade
Hi, I did everything, but nothing has brought me out of this misery .
I Updated Maverick just 2 days after its release. Had no problems, other then slow Finder. I restarted my iMac last week, and got caught with these issues, known to me, not sure what all bugs are there.
All these apps does not work: App Store, TextEdit, Preview, Terminal, iBooks, Maps, Calendar, Contacts, Mail, etc
I do not know how to do a clean install, as I had upgraded from Snow Leopord to Mountain Lion and to Maverick using App Store, which does not open at all.
Hoping to get some response soon from Apple support team to help me.Hi Arthur,
Thanks for the headsup about Apple Support thing... My iMac is not under warranty.
And below is the report generated from EtreCheck. Hope it can help me find the solution.
Hardware Information:
iMac (20-inch, Early 2008)
iMac - model: iMac8,1
1 2.4 GHz Intel Core 2 Duo CPU: 2 cores
4 GB RAM
Video Information:
ATI Radeon HD 2400 - VRAM: 128 MB
Audio Plug-ins:
BluetoothAudioPlugIn: Version: 1.0
AirPlay: Version: 1.9
AppleAVBAudio: Version: 2.0.0
iSightAudio: Version: 7.7.3
Startup Items:
FanControlDaemon - Path: /Library/StartupItems/FanControlDaemon
HDDFanControlDaemon - Path: /Library/StartupItems/HDDFanControlDaemon
HP IO - Path: /Library/StartupItems/HP IO
HP Trap Monitor - Path: /Library/StartupItems/HP Trap Monitor
MissingSyncListener - Path: /Library/StartupItems/MissingSyncListener
MySQLCOM - Path: /Library/StartupItems/MySQLCOM
ParallelsDesktopTransporter - Path: /Library/StartupItems/ParallelsDesktopTransporter
VirtualBox - Path: /Library/StartupItems/VirtualBox
System Software:
OS X 10.9 (13A603) - Uptime: 2 days 2:6:45
Disk Information:
WDC WD2500AAJS-40VWA1 disk0 : (250.06 GB)
EFI (disk0s1) <not mounted>: 209.7 MB
My iMac (disk0s2) /: 249.2 GB (22.18 GB free)
Recovery HD (disk0s3) <not mounted>: 650 MB
USB Information:
Apple, Inc. Keyboard Hub
Apple, Inc Apple Keyboard
Western Digital My Book 1110 999.5 GB
WORK (disk1s1) /Volumes/WORK: 375.81 GB (95.66 GB free)
PLEASURE (disk1s2) /Volumes/PLEASURE: 623.69 GB (35.57 GB free)
Apple Inc. Built-in iSight
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Computer, Inc. IR Receiver
FireWire Information:
Thunderbolt Information:
Kernel Extensions:
com.logmein.driver.LogMeInSoundDriver (1.0.0)
Problem System Launch Daemons:
Problem System Launch Agents:
Launch Daemons:
[loaded] com.adobe.fpsaud.plist
[loaded] com.adobe.SwitchBoard.plist
[failed] com.google.GoogleML.plist
[loaded] com.google.keystone.daemon.plist
[not loaded] com.logmein.logmeinserver.plist
[loaded] com.microsoft.office.licensing.helper.plist
[loaded] com.wdc.WDDMservice.plist
[loaded] com.wdc.WDSmartWareServer.plist
[loaded] rapiback.plist
Launch Agents:
[not loaded] com.adobe.AAM.Updater-1.0.plist
[loaded] com.google.keystone.agent.plist
[loaded] com.logmein.logmeingui.plist
[not loaded] com.logmein.logmeinguiagent.plist
[not loaded] com.logmein.logmeinguiagentatlogin.plist
[loaded] syncmateStarter.plist
User Launch Agents:
[loaded] com.adobe.AAM.Updater-1.0.plist
[loaded] com.adobe.ARM.[...].plist
[loaded] com.facebook.videochat.[redacted].plist
[loaded] com.macpaw.CleanMyMac.helperTool.plist
[not loaded] com.macpaw.CleanMyMac.trashSizeWatcher.plist
[loaded] com.macpaw.CleanMyMac.volumeWatcher.plist
User Login Items:
AirPort Base Station Agent
EarthDesk Engine
LMILaunchAgentFixer
AdobeResourceSynchronizer
RealPlayer Downloader Agent
Windows Phone 7 Connector Agent
iAntiVirus
TextEdit
StatusMenu
HP Scheduler
WDQuickView
3rd Party Preference Panes:
Application Enhancer
DivX
EarthDesk
Fan Control
Flash Player
Flip4Mac WMV
Growl
MacFUSE
WDQuickView
Internet Plug-ins:
AdobeExManDetect.plugin
AdobePDFViewer.plugin
AdobePDFViewerNPAPI.plugin
Default Browser.plugin
DirectorShockwave.plugin
DivXBrowserPlugin.plugin
Flash Player.plugin
FlashPlayer-10.6.plugin
Flip4Mac WMV Plugin.plugin
iPhotoPhotocast.plugin
JavaAppletPlugin.plugin
QuickTime Plugin.plugin
RealPlayer Plugin.plugin
SharePointBrowserPlugin.plugin
Silverlight.plugin
User Internet Plug-ins:
Picasa.plugin
Unity Web Player.plugin
WebEx.plugin
WebEx64.plugin
Bad Fonts:
None
Time Machine:
Time Machine not configured!
Top Processes by CPU:
29% mds
2% WindowServer
1% mds_stores
1% LogMeInGUI
1% RealPlayer Downloader Agent
1% EtreCheck
1% FanControlDaemon
0% uTorrent
0% notifyd
0% networkd
Top Processes by Memory:
1.00 GB mds
106 MB mds_stores
78 MB Google Chrome
49 MB Finder
45 MB WindowServer
40 MB Google Chrome Helper
37 MB VLC
29 MB uTorrent
20 MB EtreCheck
16 MB DashboardClient
Virtual Memory Statistics:
43 MB Free RAM
989 MB Active RAM
934 MB Inactive RAM
447 MB Wired RAM
4.25 GB Page-ins
454 MB Page-outs -
Xfa.host.messageBox
I am trying to get a message to appear if someone tries to enter enter data in a drop down list before entering in formation in a previous list. I have two drop down lists: ServiceType[0] and Action[0]. I have this code set up in the change event:
topmostSubform.Page2.Action[0]::change - (JavaScript, client)
if (topmostSubform.Page2.ServiceType[0].rawValue == null){
xfa.host.messageBox("You must select a Service Type Value"
, "Error", 3, 1);}
When I select something from the Action[0] list, nothing happens when I have not selected anything in the ServiceType[0] list. What am I missing please?Hm,
generally your scripts look fine.
But, JavaScript does not support the instance accessor [0] you used, only FormCalc does.
To use them in JavaScript you need the xfa.resolveNode method like xfa.resolveNode(" topmostSubform.Page2.ServiceType[0]").
Also, to resolve the first instance of an object, which has always the accessor [0], you don't need to describe the accessor.
So topmostSubform.Page2.ServiceType is the same as topmostSubform.Page2.ServiceType[0]
Just a hint for your script in JavaScript.
if (xfa.resolveNode("topmostSubform.Page2.ServiceType").rawValue == "" || xfa.resolveNode("topmostSubform.Page2.ServiceType").rawValue == null) then
xfa.host.messageBox("You must select a Service Type Value", "Error", 3, 0)
xfa.host.setFocus("topmostSubform.Page2.ServiceType")
xfa.event.change = ""
or in FormCalc.
if (topmostSubform.Page2.ServiceType.rawValue == "" or topmostSubform.Page2.ServiceType.rawValue == null) then
xfa.host.messageBox("You must select a Service Type Value", "Error", 3, 0)
xfa.host.setFocus("topmostSubform.Page2.ServiceType")
xfa.event.change = ""
endif -
I am on iOS 4, how do I update to iOS5 and later as several of the apps are not working now. Does anyone know how to upgrade to at least iOS5. I am on version 4.3.5 now and it is a iPad2 16M. Thank you.
Upgrading iOS
1. How to update your iPhone, iPad, or iPod Touch
2. iPhone Support
3. iPod Touch Support
4. iPad Support
a. Updating Your iOS to Version 6.0.x from iOS 5
Tap Settings > General > Software Update
If an update is available there will be an active Update button. If you are current,
then you will see a gray screen with a message saying your are up to date.
b. If you are still using iOS 4 — Updating your device to iOS 5 or later.
c. Resolving update problems
1. iOS - Unable to update or restore
2. iOS- Resolving update and restore alert messages -
Why magic jack apps is not working on my iphone 5?
why magic jack apps is not working on my iphone 5?
I have the same problem. I contacted magic jack, and after more than an hour of waiting, here is the final part of our discussion, before I had to leave to go to work:
Me: the magic jack app has worked fine for months unregistered. Never had a problem before. I must go to work now. I will leave the chat box open. if you could, send me a list of possible fixes and I will try to apply them when I get back. Please write in detail. Is there a way that I can get in touch and get a senior rep on right away to handle my problem when I get back, or do I hae to wait again when I call next time?
Kara: I am one of the senior rep here and in fact one of the supervisors . Here is what you are going to do:
Kara: Once you register the magicjack app into your Iphone, we can refresh your account connections here manually however if you dont register it, no options in our end to work for your connections since the MJ app is not used to be registered. No worries, we can remove your account if you dont want the service anymore for free.
+++++++++++++++++
So, it would seem that either there is a problem that they don't know about, or else magic jack is trying to force everyone to not choose option 3 on the opening screen, the one which allows you to continue to make a call without registering.
Has anyone received a solution to this problem from magic jack support? -
BB apps is not working, how to create BB email add? please help
BB apps is not working, how to create BB email add? please help
If none of the blackberry apps are working and you are unable to setup an email address..... have you got a Blackberry Data Plan active on your account?
-
Hi How can i refund my purchased apps, its not working. I already tried delete and re installing, also i tried turn off and on my ipad mini but still is not working
Contact iTunes Customer Service and request assistance
Use this Link > Apple Support iTunes Store Contact -
My FB Conne t through The King ENT. Apps is not working. I've lost over 358 lives
IIs the update affecting others on the Facebook Connect button that accessEss my apps. I get sent to Facebook instead of it just connecting?
my FB Connect through The King ENT. Apps is not working. I've lost over 358 lives that were saved on Farm Heroes Saga & can't use the Facebook connect button. is this an App issue or IPad?MMine is a Farm Hero Saga & Candy crush , Facebook Connect is not working! Kerri
-
How to setup bypass the apps is not working
i am go to setting and then i am set contact and teset
add update this is called bypass but how to fix it apps is not working pleaseI am an ABAP developer, not a role administrator. I am writing a code that assigns roles to users based on other roles that they have. What I am trying to do is to make my program more robust by not assigning a role if this other role have any sort of problem. The standard function I am using, PRGN_READ_USERS_FOR_ONE_AGR, does not identify that there is a problem and neather can it be identified through the table AGR_USERS.
Got it?
Carol -
My app store, Apple ID, safari, and most other apps do not work after upgrading to iSO 6, How do i solve this problem? Can somebody help me please?
The App store is a problem for many and I have not seen a solution.
What is "wrong" with your Apple ID?
Try the following:
- A reset. Nothing is lost
Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Restore from backup
- Restore to factory settings/new iPod. -
My text messaging app is not working at all is a blank screen when I open it! Help!!!
Abdussalam.A,
you mentioned that Terminal does not work at all for your MacBook Pro. What currently happens when you run Terminal? In what way does it not work? -
After updating My iPad 2 to iOS 5.1.1 , my newly installed apps are not working . When I try to open the app the screen just flashes and then nothing happens. Built in apps works fine . Please help
I realize that installing apps is not the problem. Installing another app from the app store is a recommended troubleshooting tip from Apple if all of the third party apps will not open. It resets your iTunes authorization when you install the app because you have to enter your password.
If you didn't install another app try it. Read this support article as well.
iOS: Troubleshooting applications purchased for the App Store
Try this as well. Quit all apps, reset the iPad.
Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps.
Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
If that doesn't work - sign out of your account, restart the iPad and then sign in again.
Settings>Store>Apple ID. Tap your ID and sign out. Restart the iPad.
Go back to Settings>Store>Sign in and then see if the apps will launch. -
I kept getting reminders to update my iphone to v6, so I did so and I am not happy! It deleted all of my apps, so then I had to reload them. Now many of the apps do not work - when I try to open them they keep asking for my apple ID and PW and when I enter this it just goes away and never opens. Anyone else had this issue?
Happened to me once awhile back. The exact same thing. What I did to get everything working again was open up itunes on PC and click on "Apps" section (not the one in your iphone section, but the one in the "Libraries" section near the top). Then proceed to totally delete all of the apps that aren't working (if it asks if you want to send to recycle bin click yes). Re-sync phone, which will remove them from the phone. And, finally, re-install them. It was a pain, but the only thing that worked. Hope it works for you. Good luck!
Maybe you are looking for
-
I can perform a basic log in on iTunes. I can authorize my laptop. But when I click the Account link and re-enter my password, iTunes won't accept it. I tried to access my Account page on my friend's desktop -which wasn't even authorized- and I got i
-
Field explorer does not open on my terminal services profile
Dear Sirs, For some reason I am unable to open my field explorer in any crystal report on my terminal services profile. I have checked with other profiles and the problem does not exist. The problem is specific to my profile. I can also create new re
-
Hp officejet 6100 default printing
I have an officejet 6100 on a wirless network with one computer using Windows 7 and the other stuck with Windows 8.1. On the Windows 7 machine I can set the printing default from the Printer choice under Control Panel. This is Black Ink Only/Draft
-
HT3529 Is there a free option to printing out multiple text messages from one person?
is there a free option to printing out multiple text messages from on person?
-
Displaying columns of alv with Main Heading and Sub Heading
Hi friends. I have certain fields in display of ALV. Out of all fields(columns), I would have to display some columns with one Main Heading,Below it's being split in multiple rows. I have data relevent to that multiple fields. Let say , In first row