QR CODE: How to include the QR code in the PDF when form is completed

  • laidetec
    Fecha de consulta 12 de abril de 2024, 18:02

    Hola, espero que se encuentren muy bien
    tengo una duda, como puedo crear un registro, en donde te mande los datos que establezcas, la imagen de QR y un archivo pdf, descargable a tu correo algo asi:

    QR CODE: How to include the QR code in the PDF when form is completed Image 1 Screenshot 30

    y el interior del pdf algo asi:

    QR CODE: How to include the QR code in the PDF when form is completed Image 2 Screenshot 41

  • Eldrex Jotform Support
    Fecha de respuesta 12 de abril de 2024, 20:37

    Hi laidetec,

    Thanks for reaching out to Jotform Support. Unfortunately, our Spanish Support agents are busy helping other Jotform users at the moment. I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in Spanish, let us know and we can have them do that. But, keep in mind that you'd have to wait until they're available again.

    Now, coming back to your question, It is easy to put the QR code on the PDF of your submission. All you need to do is drag and drop the QR code field to your PDF editor. Let me show you how:

    1. In Form Builder, click the drop-down menu besides the Jotform Logo located in the top left corner of your screen.
    2. Now click and open PDF Editor. QR CODE: How to include the QR code in the PDF when form is completed Image 1 Screenshot 40
    3. In PDF editor, click Form Fields under Add Element window located on the right side of the screen.
    4. Then drag and drop the QR code field to your PDF. QR CODE: How to include the QR code in the PDF when form is completed Image 2 Screenshot 51

    So whenever someone completed a form, you will receive an email notification with the PDF attached. If you view the PDF, you will see the QR code. Check this out:

    QR CODE: How to include the QR code in the PDF when form is completed Image 3 Screenshot 62

    Give it a try and let us know how it goes.


  • laidetec
    Fecha de respuesta 15 de abril de 2024, 15:57

    Hola, listo eso ya quedo, muchas gracias
    otra duda, yo estoy generando un QR a base de esta información, que se vuelve unico por persona:
    QR CODE: How to include the QR code in the PDF when form is completed Image 1 Screenshot 30
    QR CODE: How to include the QR code in the PDF when form is completed Image 2 Screenshot 41
    pero quiero que ese calculo sea algo asi, ejemplo:
    laidetec(4letras)(4numeros aletorios)

    ejemplo:
    Cálculo: laidetecbcd1234
    (que no se repitan, las 4 letras y los 4 numeros, lo unico fijo es laidetec)


  • Eldrex Jotform Support
    Fecha de respuesta 15 de abril de 2024, 17:46

    Hello laidetec,

    Thanks for reaching out to Jotform Support. I understand the issue, but I’ll need a bit of time to work out a solution. I’ll get back to you shortly.

  • Eldrex Jotform Support
    Fecha de respuesta 15 de abril de 2024, 18:25

    Hello laidetec,

    Thanks for your patience and understanding, we appreciate it. I have created a workaround to generate a unique QR code for each and every user. Here's a workaround:

    1. In Form builder, you need to add a Name and Phone Number Field.
    2. Add 2 substring field to extract only the letters and numbers needed.
    3. In the first substring field, copy the first name Unique ID, as we only need the first name of the user to be extracted.
    4. For the second substring, copy the Unique ID of the phone number field and set the substring start to 1 and substring end to 4 so it will just copy the first 3 digits of the phone number.

    QR CODE: How to include the QR code in the PDF when form is completed Image 1 Screenshot 50

    You need to label the substring 1 as Name and the substring 2 as Number as this will be used for the calculation formula. It is also important to hide the substring field and the calculation field so it will not show on your form.

    Now here's the calculation formula:

    Name(substring 1) + Number (substring 2)+ random (random numbers to be added to your form)

    QR CODE: How to include the QR code in the PDF when form is completed Image 2 Screenshot 61

    Now you can add the dynamic QR code widget and enter Calculation in the Field label to encode:

    QR CODE: How to include the QR code in the PDF when form is completed Image 3 Screenshot 72

    Here's the result when the substring fields and the calculation field is not hidden just to show if it is working:

    QR CODE: How to include the QR code in the PDF when form is completed Image 4 Screenshot 83

    Give it a try and let us know how it goes.

 
Su respuesta