You are viewing limited content. For full access, please sign in.

Question

Question

QR Code Handling in Laserfiche iOS App

asked on August 5, 2024 Show version history

Hello,

I am attempting to use the QRCode read functionality in the iOS app with the modern designer, but am running into a major issue and hoping someone can help me.

Upon scan of a QR Code, none of the event handlers seem to work. As in, I cannot monitor it for change/blur, lookup events do not fire, really as far as I can tell there is no way to understand that data has actually been captured. If I put javascript in to pull from this field, it is like it does not even exist. It is not unless a user clicks into the scanned field and changes a character that will force the form to update.

Is this working as intended?

0 0

Replies

replied on August 30, 2024

The Modern Designer runs Javascript within a sandboxed iFrame, that doesn't have direct access to the components of the Form.  Every interaction with the form via Javascript is handled by the LFForm object and its various functions.  See: Help Documentation on LFForm object.

I haven't worked with QR codes myself, but in general very complex custom Javascript functionality may require using the Classic Designer instead - at least for now (Laserfiche wants to continue expanding what we can do in the Modern Designer).

0 0
replied on August 30, 2024

Unfortunately I took it as Barcode is completely unsupported in the modern designer as nothing works right. The user has to click into fields after a barcode scan for the data to save which is a non starter. This is before even adding in javascript.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.