Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

LimeSurvey on mobile devices

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 8 months ago #122773 by tpartner
Replied by tpartner on topic LimeSurvey on mobile devices

And is there any statistics which shows that the respondents made the survey on mobile device...

You could use JavaScript to store the userAgent details in a hidden short-text question.

Code:
<script type="text/javascript" charset="utf-8">    
  $(document).ready(function() {  
 
    // Identify this question
    var thisQuestion = $('#question{QID}');
 
    // Hide this question
    thisQuestion.hide();
 
    // Load userAgent details
    $('input.text', thisQuestion).val(navigator.userAgent);
 
  });
</script>

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
8 years 8 months ago #122775 by tonyge
Replied by tonyge on topic LimeSurvey on mobile devices
Thanx again!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose