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.
22 November, 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.
22 November, 2021 22:47:48
E2Pdf
Support
Topics: 7
Messages: 3331
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:
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!
23 November, 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.
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!
23 November, 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.
23 November, 2021 01:28:55
E2Pdf
Support
Topics: 7
Messages: 3331
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!
23 November, 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.
We use tools, such as cookies, to enable essential services and functionality on our site and to collect data on how visitors interact with our site, products and services. By accepting cookies you are agreeing to our Cookie Policy.