Creation of QR code with data from Forminator form

Forminator Forms
November 22, 2021 07:46:00
Alain Melsens
Topics: 8
Messages: 50
Hello,
How can an empty field from a Forminator form be skipped when creating the QR code?
Now an empty space or extra blank line is inserted in the QR code. It looks like an extra carriage return or extra linefeed character. See also screencapture in attachment.
Is there any way to skip or ignore empty fields from Forminator form?
Thanks in advance.
Kind Regards.
November 22, 2021 07:48:46
Alain Melsens
Topics: 8
Messages: 50
I would also like to add that these empty fields or extra empty zones can be seen after scanning the QR code.
See the previous sent example of a scanned QR code.
November 22, 2021 22:47:48
E2Pdf
Topics: 7
Messages: 3617
Support
Hi,

Can you try please to remove empty lines by using [e2pdf-format-output] shortcode wrapper with "lines" filter. It must be modified value under "Right Mouse Click" -> "Properties" -> "Value" as:

[e2pdf-format-output filter="lines"]
{name-1-first-name}
{name-1-middle-name}
{name-1-last-name}
[/e2pdf-format-output]

P.S. However by default it must not be generated any additional spaces/lines unless they are added while mapping field. Maybe you can you let us know which type of fields is used after which it generates spaces so we can try to replicate the issue?. If it's acceptable for you, you can also attach your "backup" of your E2Pdf Template to next message (You can mark message "Private" so only we can see the message) or upload it somewhere so we can check it on our side as on attached screenshot.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
November 23, 2021 00:08:24
Alain Melsens
Topics: 8
Messages: 50
Hi,
First of all, thank you very much for the quick reply.
Your first suggestion with [e2pdf-format-output filter="lines"] works perfectly.
However, I have a few more questions regarding QR codes:
By using [e2pdf-format-output] what is the difference between the Optional Parameters "replace" and "ireplace"?
And finally, I see that the dimensions of the QR code automatically adjust from small to large, perhaps depending on the amount of data that the QR code contains? Is it possible to set the dimensions of the QR code always to fixed dimensions? If this is possible, how should it be set?
Thanks in advance.
Best regards.
November 23, 2021 00:24:44
E2Pdf
Topics: 7
Messages: 3617
Support
Hi,

"replace" - Case-sensitive
"ireplace" - Case-insensitive

As about dimension of the QR code - unfortunately yes, the size can be affected by the length of value and currently it's not possible to set it 100% same "height" and "width". You can try to change "Precision" and "Quiet Zone Size" but in any case the "length" of "Value" can affect the size.

P.S. We have point in our roadmap to optimize QR Codes behavior but unfortunately there is no yet ETA when it will be released.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
November 23, 2021 00:48:52
Alain Melsens
Topics: 8
Messages: 50
Hi,
Ok, thanks for the explanation of "replace" and "ireplace".
As for the QR codes, with the "Precision" there are only 4 options but with "Precision", which is the best setting there? And in what format is this expressed? In millimetres or inches?
Are there any average or best standards known? I searched the Internet but did not find any specific standards.
Thanks in advance.
Kind Regards.
November 23, 2021 01:28:55
E2Pdf
Topics: 7
Messages: 3617
Support
QRCode use the Reed–Solomon error correction algorithm with four error correction levels :

Level L (Low) 7% of codewords can be restored.
Level M (Medium) 15% of codewords can be restored.
Level Q (Quartile) 25% of codewords can be restored.
Level H (High) 30% of codewords can be restored.

A reading won't return you wrong values : if the QRcode can't be read it won't return anything, so it's quite "accurate" however it can affect the size of QR Code. So actually there is no "better" or "worse" settings.

See http://en.wikipedia.org/wiki/QR_code for more explainations. Version of QR Code inside E2Pdf will be set depending on the "Value" length.

We would really appreciate your feedback at WordPress.org!
November 23, 2021 01:33:16
Alain Melsens
Topics: 8
Messages: 50
Hi,
Ok, thank you very much for this very useful information.
This support ticket may be closed.
Thanks again for your very accurate support! ;)
Best Regards.
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
© 2017 - 2026, https://e2pdf.com

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according to our Cookie Policy.