• roeltb

    (@roeltb)


    I am integrating E2Pdf with Forminator for event registration. I managed to create a PDF that serves as a confirmation and send it via email to every user that submitted the form. However, is it possible to scan this barcode at the event and how do I do that? Also, is there a way to make the barcode invalid when the user has cancelled their registration?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Oleksandr

    (@oleksandrz)

    Hello,

    Unfortunately, E2Pdf doesn’t have such automated functionality, it can just output defined data to the PDF. In theory, you can try to create some custom validation system for QRCodes / BarCodes when scanned but it’s out of the E2Pdf functionality.

    We remain at your service.

    Thread Starter roeltb

    (@roeltb)

    Hello,

    Thanks for your response. Is it then true that all the barcodes from e2Pdf are the same? So they are not unique? Or can they all carry unique information, and if I would be able to write such a script it would be possible to deduct validity of the code?

    Plugin Author Oleksandr

    (@oleksandrz)

    Barcodes/QR codes do not store/output any data by default. You need to assign a “value”, and based on this data, the Barcode/QR Code will be generated.

    Thread Starter roeltb

    (@roeltb)

    That makes sense, I was wondering how I need to assign a value. If I map fields to the barcode, is that how I assign a value?

    Plugin Author Oleksandr

    (@oleksandrz)

    Yes, by default values must come from the entry saved by the Forminator.

    In theory, it can be some hidden field that will have generated barcode number in the form or you can try to generate it via PHP hook and assign it to the submitted entry.

    This value can be assigned to the barcode object in the E2Pdf Template via field slug, for example for a hidden field it will be {hidden-1}.

    Thread Starter roeltb

    (@roeltb)

    Thanks, that helps a lot for now!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Scan barcodes and remove validity of barcode’ is closed to new replies.