Title: QR Code use
Last modified: May 10, 2021

---

# QR Code use

 *  [beeit](https://wordpress.org/support/users/beeit/)
 * (@beeit)
 * [5 years ago](https://wordpress.org/support/topic/qr-code-use/)
 * Hello,
    When I use QR code widget it just displays content of the code. Is it
   possible to use it to auto fill some field? E.G, I would like to use QR code 
   to add IoT device by scaning QR code which contains MQTT topic and I would like
   to use that so I do not have to write manualy.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Amauri](https://wordpress.org/support/users/amauric/)
 * (@amauric)
 * [5 years ago](https://wordpress.org/support/topic/qr-code-use/#post-14419164)
 * Hey
 * There is a filter to manage the qrcode response with Javascript:
 *     ```
       add_filter('wpmobile_qrcode_event', 'wpmobile_qrcode_get_result');
       function wpmobile_qrcode_get_result() {
           $return = '
             if (result != "") {
                 // use result to fill your fields
   
                 return;
             }
           ';
           return $return;
       }
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘QR Code use’ is closed to new replies.

 * ![](https://ps.w.org/wpappninja/assets/icon-256x256.png?rev=2215187)
 * [WPMobile.App](https://wordpress.org/plugins/wpappninja/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpappninja/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpappninja/)
 * [Active Topics](https://wordpress.org/support/plugin/wpappninja/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpappninja/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpappninja/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Amauri](https://wordpress.org/support/users/amauric/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/qr-code-use/#post-14419164)
 * Status: not resolved