- Posts: 11
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
while having the survey set to be open for public registrating
function getURLParameter(name) { return decodeURI( (RegExp(name + '=' + '(.+?)(&|$)').exec(location.search)||[,null])[1] ); } $(document).on('ready pjax:scriptcomplete',function(){ if($('#register_attribute_1').length > 0) { $('#register_attribute_1').val(getURLParameter('attribute_1')); } });
DenisChenu wrote: …i don't know existing workaround solution
tpartner wrote: You could load the URL parameters into the register form via JavaScript.
…
#register_attribute_1 { display: none !important; }