Trying to make a .vcf or vcard to download

estradalberto

New Member
Hello, I am trying to create a .vcf formatted text presented in a QRCode, by joining several fields but when i render the joined field element as a QRCode, the vcf format is not achieved.
I found this thread mentioning a Form PHP Plugin with this code (kind of)

Code:
$yourthing = $formModel->getElementData('yourtable___yourthing');
$formModel->updateFormData('yourtable___the_qr_field', $yourthing, true, true);

https://fabrikar.com/forums/index.php?threads/qr-code-in-fabrik-list.40979/

How can I accomplish this?
Thanks in advance.
 
The QR-code represents a text of a text field/field element. If this text is exactly matching some given format is up to you (e.g. linebreaks as <br> or CRLF or...)

So first check if the field element displays exactly what you expect (without QR-code)
 
Last edited:
Thank you for your accurate reply. I am testing this, but I can not get the line breaks to appear in the field element. I have tried everything I can think of –such as <BR> or copy-paste formatted text–but I haven't been able to render those line breaks in the field.
I even encoded the text as URL, but nothing, any help would be appreciated.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top