Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

279
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda