please I nicely need to enter the QR code anywhere in the form . . .
in an external html file (see below) it works
Thank you for the inspiration Honza
=================================================================
<!DOCTYPE html>
<html>
<head>
<title>QR Code Generate</title>
<!-- (A) LOAD QRCODEJS LIBRARY -->
<!-- https://cdnjs.com/libraries/qrcodejs -->
<!-- https://github.com/davidshimjs/qrcodejs -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/ ... "></script>
</head>
<body>
<!-- (B) GENERATE QR CODE HERE -->
<div id="qrcode"></div>
<!-- (C) CREATE QR CODE ON PAGE LOAD -->
<script>
var qrcode = new QRCode(document.getElementById("qrcode"), "https://code-boxx.com/");
</script>
</body>
</html>
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
insert qr code into edit form ? ? ?
Re: insert qr code into edit form ? ? ?
Add a new html object to your form, in the html section enter just the following code, it seems to work for me.
If it's not the right ocde you may need to add the to the nuBuilder Header
Code: Select all
<div id="qrcode"></div>
<!-- (C) CREATE QR CODE ON PAGE LOAD -->
<script>
var qrcode = new QRCode(document.getElementById("qrcode"), "https://code-boxx.com/");
</script>
Code: Select all
<script src="https://cdnjs.cloudflare.com/ajax/libs/qrcodejs/1.0.0/qrcode.min.js"></script>
Re: insert qr code into edit form ? ? ?
on my screen - only gray space
You do not have the required permissions to view the files attached to this post.
Re: insert qr code into edit form ? ? ?
the developer console captured this message
You do not have the required permissions to view the files attached to this post.
-
- nuBuilder Team
- Posts: 4299
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 445 times
- Contact:
Re: insert qr code into edit form ? ? ?
In a HTML object:
In (Setup->) Header:
Output:
Code: Select all
<div id="qrcode"></div>
<script>
var qrcode = new QRCode(document.getElementById("qrcode"), "https://code-boxx.com/");
</script>
Output:
You do not have the required permissions to view the files attached to this post.
-
- Posts: 156
- Joined: Wed Dec 23, 2020 12:28 pm
- Location: Russia, Volgograd
- Has thanked: 32 times
- Been thanked: 7 times
- Contact:
Re: insert qr code into edit form ? ? ?
How to insert this (generated) qr-code in Detail section of Report?
Last edited by miasoft on Sun Nov 21, 2021 2:23 am, edited 1 time in total.
Wbr, miasoft.
Re: insert qr code into edit form ? ? ?
Hooray. . . Solved ! ! ! . . . I had a bug in the script position in "Header". . . .
Thank you very much Kevin
