Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

147
Views
PDF this.resetForm() not working with Prompt on iPhone

I have a button on an Adobe PDF form used to clear all fields. On the Mouse Up trigger on that button, I Run some Javascript. Running the generic reset works just great: this.resetForm(), though a little dangerous for my liking without a prompt. The two different prompt methods I've tried work just fine on Windows 10, but not on my iPhone (running 15.3.1). I've tried two different ways with a prompt as follows:

1)

var nRslt = app.alert("Are you sure you want to clear this form?", 2, 2, "Reset Form Warning");
if (nRslt == 4) {
    this.resetForm();
} 

This doesn't throw an error, but it doesn't clear the form, either.

2)

if (app.alert({cMsg: "Are you sure you want to clear this form?",cTitle: "Reset Form Warning",nIcon: 2,nType: 2}) == 4) {
this.resetForm();
}

This throws the message: [object Object] with an OK button and doesn't clear the form.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!