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

280
Visualizações
Save Form data on pdf with react-pdf

I'm trying to save the form data with a pdf that's being display with react-pdf. My current setup is calling the pdf bytes as a base64 string from a database entry, and loading the pdf through canvas. I've got all the necessary functions to save the actual data as strings, but I don't know how to "save" the pdf with the form fields saved with the pdf. Does someone know this last step?

<div>
<Document
  file={{
    data: fileBytes,
  }}
  onLoadSuccess={onDocumentLoadSuccess}
  options={options}
>
  <Page
    renderForms={true}
    pageNumber={pageNumber}
    onClick={setVariable}
    onInput={setVariable}
    canvasRef={canvasRef}
  />
</Document>
<p>
  Page {pageNumber} of {totalPages}
</p>
</div>
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