Skip to main content
Participating Frequently
August 23, 2023
Question

Submit button gives bad parameter

  • August 23, 2023
  • 2 replies
  • 2549 views

Can't get Submit button to work - it gives 'bad parameter'. It is configured to send whole pdf to mailto:myemail.com. This is in a test pdf with just one field, and a submit button, Added another button to open a URL, which is set to the same mailto value, which works as expected, i.e. opens an empty Microsoft email (but of course does not attach the pdf). Shared pdf here https://drive.google.com/file/d/1-rMsWNJ3DuZi7a6PUY4OyqlqhZzKueBw/view?usp=sharing

This topic has been closed for replies.

2 replies

Participating Frequently
August 24, 2023

Just tried it on my Android phone, which only has reader installed, and it works as expected. Now also tried it on another PC with only reader installed, and it gives no error, but wants me to sign in to an Adobe account. On the original PC where the pdf is created, which has Acrobat Pro installed, you cant install reader as well.

Participating Frequently
August 24, 2023

Now tried the other data optioons (html, fdf) - all have the same issue

try67
Community Expert
Community Expert
August 27, 2023

Ok, I guess it makes sense not to actually send it. But it is not abvious that it has been created in drafts - it should display the draft email, so you can see what it's created,  alter and then send it. The blank email is a real distraction (unless I accidentally added that as an another action to the button - which I can't see, because I now have reader installed instead of Acrobat Pro, and it seems I can't have both installed at the same time) 


Yes, the draft should open by default. It does that for me.

If a blank email is created then you might have additional actions associated with the button.

You'll need to share the file for further help with this.

Thom Parker
Community Expert
Community Expert
August 23, 2023

Didn't give me an error.  However, since it is submitting the entire PDF it will only work on Acrobat Pro.  

 

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