facebook

QR-Code Generator

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #349248 Reply

    DinoCrivelli
    Member

    Hi

    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&gt;

    <!–<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

    #349275 Reply

    Hi 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.

    #349338 Reply

    anser
    Member

    Hi 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!

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: QR-Code Generator

You must be logged in to post in the forum log in