Jump to content

How do I prepend a static URL with a variable in the data to generate a QR Code?


Recommended Posts

Posted
I need to create a QR code for a URL. http://example.com/<<variable>>

In my data I only have the variable part of the URL and can create a URL for that easily. How to I prepend a static "http://example.com" onto that variable before generating the QR code?

return MakeQRBarcode("http://example.com/" + encodeURIComponent(Field("Name")));

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...