Convert data to QRCODE and Share

The recommended method of customizing your AppGini-generated application is through hooks. But sometimes you might need to add functionality not accessible through hooks. You can discuss this here.
Post Reply
User avatar
Marcelo Vitoria
Veteran Member
Posts: 60
Joined: 2016-10-11 12:08

Convert data to QRCODE and Share

Post by Marcelo Vitoria » 2019-11-22 14:16

Hello friends

In a screen with 5 fields, I need to finish saving the data entry, the content of these 5 fields be converted to a QRCODE, being a PNG or JPG image and then a button, this image will be shared by whatsapp by mobile .

Anyone have any idea how this could be done?

Thanks
Marcelo Vitoria
Coding since 1984 Basic Sinclair!
Clipper Summer´87 - Visual Foxpro - VB6 - PHP
AppGini 24.11 - AdminLTE
https://www.workspaceservices.com.br

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1635
Joined: 2018-04-01 10:12

Re: Convert data to QRCODE and Share

Post by pbottcher » 2019-11-22 15:54

Hi,

do you want to store the qr code after saving the record, or only display the qr code on the page?
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

User avatar
Marcelo Vitoria
Veteran Member
Posts: 60
Joined: 2016-10-11 12:08

Re: Convert data to QRCODE and Share

Post by Marcelo Vitoria » 2019-11-25 14:22

Hello pböttcher

I do not need to store the generated image in QR-COde, but I need to share this image by phone or tablet

tks!
Marcelo Vitoria
Coding since 1984 Basic Sinclair!
Clipper Summer´87 - Visual Foxpro - VB6 - PHP
AppGini 24.11 - AdminLTE
https://www.workspaceservices.com.br

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1635
Joined: 2018-04-01 10:12

Re: Convert data to QRCODE and Share

Post by pbottcher » 2019-11-25 19:23

Hi,

you may have a look at

https://github.com/jeromeetienne/jquery-qrcode

this is very easy to implement.
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

User avatar
Marcelo Vitoria
Veteran Member
Posts: 60
Joined: 2016-10-11 12:08

Re: Convert data to QRCODE and Share

Post by Marcelo Vitoria » 2019-11-26 22:52

Tks! I will try.
Marcelo Vitoria
Coding since 1984 Basic Sinclair!
Clipper Summer´87 - Visual Foxpro - VB6 - PHP
AppGini 24.11 - AdminLTE
https://www.workspaceservices.com.br

Post Reply