Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

151
Visualizações
How do I get a success response from submitting a fillable PDF

I have a fillable PDF with a submit button on it, it submits the PDF using the javascript for the Fillable PDF submit button as:

var myURL=encodeURI("https://xxxxxxx.com/SubmitForm.php");
this.submitForm({cURL: myURL, cSubmitAs: "PDF"});

If all goes well, the server sends back an bare FDF just to say success:

/FDF
<<
/JavaScript << /After (app.alert("Submitted. Thank you.");) >>
>>
>>
endobj
trailer
<<
/Root 1 0 R
>>
%%EOF   
EOD;

It submits the whole PDF to my server and that part is great and works fine. The problem is that after its done submitting I get this error:

"Some features have been disabled to avoid potential security risks...."

What am I doing wrong? Like I said, its actually working fine, but still gives me this ambiguous error which leads my users to believe something is wrong & didn't submit.

Does anybody have any idea what I could do to fix this? Is there a better FDF string I can send back?

Thanks for any help.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda