You are viewing limited content. For full access, please sign in.

Question

Question

Feature Request: Capture Browser Information

asked on November 12, 2015

It would be nice for troubleshooting purposes if when a form is submitted that it would capture the submission source information. For example, if it is a browser I would like to know which browser and the version number. If they are using the Laserfiche App, I would like to which one (Windows, Android, iOS) and the version as well.

2 0

Replies

replied on November 13, 2015

You can grab the User Agent String with some Javascript and store it to a field. Suppose your field has CSS class "UserAgentString", the code would be:

$(document).ready(function(){
  $('.UserAgentString input').val(navigator.userAgent);
});

Note that the user agent isn't 100% reliable because it can easily be changed by anyone who knows what they're doing, but it's a good starting point.

2 0
You are not allowed to follow up in this post.

Sign in to reply to this post.