Print Page | Close Window

app response works in Windows but not ipad

Printed From: Foxit's Planet PDF Forum
Category: Lets Talk PDF
Forum Name: JavaScript
Forum Description: Discussions relating to the use of JavaScript within PDF.
Printed Date: 12 Dec 2019 at 12:38pm
Software Version: Web Wiz Forums 11.10 -

Topic: app response works in Windows but not ipad
Posted By: parteegolfer
Subject: app response works in Windows but not ipad
Date Posted: 18 Aug 2016 at 4:08pm
I have set up an app response that seems to work in Windows OS however, when ran on an Ipad, no results.
What I am trying to do is ask the user if they want to change a number within a predefined text box (SERVICE REPORT). If they want to put in a new number, I have an app response as follows:
//Increase Report Number by USER INPUT
var one = this.getField("REPORT NUMBER");
// the target field
var cResponse = app.response({ cQuestion: "Enter Number To Set Report To?", cTitle: "Set Report Number To"});
if (cResponse == null){
 // if Cancel is selected
 app.alert ("Cancel new report number?");
 cResponse = one.value;
one.value = cResponse

Why does this not work on an ipad??? Im Lost

Posted By: gkaiseril
Date Posted: 18 Aug 2016 at 4:50pm
iPads, android devices, and mobile devices and there associated apps do not implement all the PDF JavaScript objects, properties, and methods.

V - iOS app object only supports the alert method.

Posted By: parteegolfer
Date Posted: 18 Aug 2016 at 5:49pm
is there another way I can accomplish the task other than app response??

Posted By: BAlheit
Date Posted: 17 Nov 2017 at 9:01am
Acrobat Reader for iOS doesn't support this.

Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.10 -
Copyright ©2001-2017 Web Wiz Ltd. -