Custom Name User

If you are scanning with "QR Attendance Control" then I assume it will work as you expect.
QR codes are pretty much the same afaik, the scanning app controls what happens when scanned.

You can probably just use the param as the set url since it is not going to be used

	//https://YOURURL?to=John+Travolta
	
	//-- get the serach param
	
	  var paramsString =    window.location.search
 
//--  get the  qr element
 
	 //-- make params in to object
	 
	let searchParams = new URLSearchParams(paramsString);

//--look for param
 
	var theTo_ = searchParams.get("to") 
//-- set element text based on param
	
	 
	  hypeDocument.getElementById('theto').innerHTML = theTo_
	 
	  var qrel = hypeDocument.getElementById('qrcode')

//-- generate new qr code using madaffandi url + querystring
	var qrcode = new QRCode(qrel, {
		text: theTo_,
 		width: hypeDocument.getElementProperty(qrel, 'width'),
		height: hypeDocument.getElementProperty(qrel, 'height'),
		colorDark : "#000000",
		colorLight : "#ffffff",
		correctLevel : QRCode.CorrectLevel.H
	});
1 Like