QR code with link to details view

rbuelund

Member
I have a fabrik details template that generates a pdf of the details view (to make printouts). I want to add a QR code that links to the details page on the webpage - how would I auto populate the field with the URL of the details view when saving the form ?
 
You can set a field element's formatting to "Display as QR-Code". So a simple field with this setting +"Link to details" (with or without custom link) + "Custom link in details" should do (I didn't test).
 
OK - can I in any way change the size of the QR image. Right now I am outputting the image with : ->element, in my template, but that does not allow me to insert eg height of the img tag ??
 
You can use custom CSS in the appropriate file.
Or, since you seem to be using a custom Fabrik template, you can wrap the element into a container and, depending on what you need, set a width, max-width, min-width and/or the equivalents for height for it.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top