- This topic has 2 replies, 3 voices, and was last updated 10 years, 7 months ago by anser.
-
AuthorPosts
-
DinoCrivelliMemberHi
I want to send a simple text from a form to a Screen. (form.mobi to resultat.mobi).
Under resultat.mobi I use the following html widget, which is to spend a qr-code. The necessary. Js files I have installed.________________________________________________________________________
<html>
<head>
<title>basic example</title>
</head>
<body>
<script src=”https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js”></script><!–<script type=”text/javascript” src=”jquery.qrcode.min.js”></script>
–><script type=”text/javascript” src=”jquery.qrcode.js”></script>
<script type=”text/javascript” src=”qrcode.js”></script><p>Render in table</p>
<div id=”qrcodeTable”></div><script>
//jQuery(‘#qrcode’).qrcode(“hello”);
jQuery(‘#qrcodeTable’).qrcode({
render : “table”,
text : “${Wortrate}”
});
</script>
</body>
</html>
__________________________________________________________________At this point (“text: $ {word} rate”) is the text appear from the form, which generates the appropriate QR code. How can I solve that?
or is there another way? The idea is that I can enter by using a form text that is written in code (text : “${Wortrate}”
) in the appropriate line and thus outputs the desired QR Code.would be very grateful for your help
regards
Dino
support-octavioMemberHi Usinfo,
I assume that you are including all the code you shared in a HTML widget. You should only include content between <body> tags since this code is merged directly into the DOM. You will also need to include your additional js file and you should not include jquery since it is already included in the project.
anserMemberHi Usinfo I just recently was asked for something similar project, they want the app user be able to type simple text max. 200 characters and the app convert it into qr code and send the qr code to a URL. I had no idea how to begin when I discovered your post. I wonder if you can share the documentation of your qr-code project, did you make it to work? I would appreciate if you can help me. Or hopefully someone in the forum can help how its done. Thanks in advance!
-
AuthorPosts