geeool Posted June 14, 2012 Share Posted June 14, 2012 I have a client who orders business cards online with us. They want to add a QR code to their cards. The problem is that they want the URL that the QR code generates to be unique for each person. That is, each person who orders business cards will already have a unique landing page setup for them and the QR code needs to encode that. Most of the URL for the landing page will be the same from person to person, with just a small part being unique. I'm trying to program the static part of the URL into the JavaScript so the person ordering cards only has to enter their unique part of the URL. I've setup a test file and I'm able to get the JS to merger the static part of the URL with the dynamic part from my sample data file, but I'm also getting an error. I'm attaching a screen capture that shows the error message as well as my code. Any help would be greatly appreciated. Thanks! Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted June 14, 2012 Share Posted June 14, 2012 Change line 14 to: var DataToEncode = FrontInfo + FieldOrRule("QR Bar Code") + BackInfo; Quote Link to comment Share on other sites More sharing options...
geeool Posted June 14, 2012 Author Share Posted June 14, 2012 Thanks - that worked. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.