Skip to main content
SheehanRM
Participant
March 19, 2020
Question

Submit form button to email= bad parameter

  • March 19, 2020
  • 4 replies
  • 12117 views

I am using DC Pro and have created a fillible form, my final step is to place a submit form button so i can send to my e-mail. I used the format "mailto:Email@website.com" but when I goto preview the document it states "BAD PARAMETER".  Is there a different format to use or has someone else had this problem and know a fix???

 

Thanks!

4 replies

Participant
February 16, 2022

I'm using Adobe Pro DC v2020.006.20041 (Continuous Release).

  • I have a 7 page form. All tags have been removed per remediation suggestions provided earlier in this thread.
  • My submit but has two actions: Submit a form and Reset a form, in that order.
  • The Submit script Export format is: PDF The complete document
  • The URL is: mailto:legalfinancesupport@<domainname>.com (other domain names produce the same error)
  • All pages of the form have been examined for hidden objects and unintended artifacts...none were discovered.

There does not seem to be a reasonable explanation for the cause of Bad Parameter error when the Submit button is clicked.

 

In the past, the Submit button has always worked. The instance of the error was first observed when I combined separately working forms (5+2 pages) -- each with their own working Submit buttons. I thoroughly scrubbed the combined form and JavaScript across the 7 pages.

 

The debugger has not been useful in isolating the error -- it is clearly originating from the Submit Form Selections window when the Submit button is clicked. I have removed and replaced it. Same error. So, I created a new, blank single page form with a single Submit button (and nothing more). Same error. That suggests the errors' origination is unrelated to combining the two forms.

 

I now suspect the Adobe executable [binary] itself may be suspect. I have not uninstalled/reinstalled the application as it does not seem indicated.

 

I would love to hear thoughts from @Thom Parker or anyone with an action I can take to isolate the root cause of this error.

 

Thanks,

Dana

 

Thom Parker
Community Expert
Community Expert
February 16, 2022

Can you provide a screen shot of the submit parameters? Althought I doubt this is the issue. 

It sounds like it could be a problem with Acrobat. 

Have you tried repairing the Acrobat installation or running the cleaner tool and re-installing? 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Participant
February 16, 2022

Thnaks Thom. I did run the Repair Installation command from the Help menu. It did not resolve the error. I am not familar with the cleaner tool so I searched and believe you're suggesting this URL for the cleaner tool?

I'll seek advisement from CISO /IT as to whether I can install that and try it.

 

Screen shots: (The Reset Form script includes all visible objects and properly executes after the Bad Parameter error is observed.

 

Very much appreociate your guidance.

Dana.

Participant
December 17, 2020

I just ran into this today.  I removed the "tags" as suggested and it didn't solve the issue.  It was actually the Adobe reader program on the other users computer.  We uninstalled and reinstalled Adobe reader and then it started working.  Nothing wrong with the original form that had the 'submit' button on it. 

jessal62399221
Participant
May 8, 2020

did you ever fix this issue?  please inlighten me!?

Thom Parker
Community Expert
Community Expert
May 29, 2020

Please post this to a new thread and provide the details of  what you are doing (scripts, screenshots, etc)

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Participating Frequently
April 15, 2021

Has there been any update? I've been trying to fix this issue for 3 hours with no results.

AkanchhaS8194121
Legend
March 19, 2020

Hi there,

 

Such error generally returns when there's a page or file (multiple file list) is corrupted. Or the email address used to collect the response is invalid.

Would you please try the same with a different PDF for testing? There are couple of possibilities, so you may try these workarounds-

1- Create a copy of the file or recreate the PDF using Ctrl+P or File>Print>Print to Adobe PDF>Save a copy using differnt name and then try to add button.

2- If there are Tags added in PDF then remove Tags.

  • Click on "Tags".  A box will appear with the Tags icon in it.
  • Right click on the Tags icon and navigate to "Delete Tag".  Click on this button. 

3- If this is a secured document, then right click>Document properties>Security>change to No security.

 

 

Thanks,

Akanchha 

jessal62399221
Participant
May 8, 2020

I have this same error and have been trying to fix for a while... 

also BTW 

i dont know if its just me but when I do this step 1

(1- Create a copy of the file or recreate the PDF using Ctrl+P or File>Print>Print to Adobe PDF>Save a copy using differnt name and then try to add button.)

 

It actually removes the functionality of the submit button??