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

Java Script not working

Community Beginner ,
Jun 02, 2021 Jun 02, 2021

Copy link to clipboard

Copied

I have two forms.

Form 1 has a button that when clicked sends an email to the subscriber and others.  It works fine.

Form 2 has a button that when clicked does not send the email.  Same Javascript.

 

I have copied the button from form one to form two nothing from form two.

I have copied the button from form two to form one and it works fine in form one.

 

Form two does nothing.

Javascript is turned on.

 

Any suggestions. 

 

 

 

 

TOPICS
PDF forms

Views

391

Translate

Translate

Report

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 ,
Jun 02, 2021 Jun 02, 2021

Copy link to clipboard

Copied

Check the Javascript console for errors.

Votes

Translate

Translate

Report

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 ,
Jun 02, 2021 Jun 02, 2021

Copy link to clipboard

Copied

LATEST

There is likely a dependancy in the code this is not accounted for in the non-working form.  

It would help if we could see the code.

 

And do as Bernd suggests, always look in the console.

You'll find a video tutorial here:

https://www.pdfscripting.com/public/Free_Videos.cfm#JSIntro

 

 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Votes

Translate

Translate

Report

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