home | products | customer | support | forums | contact
Sign in | Join |
in
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 07-05-2010 12:18

    info about browser, OS & screen resolution

    Hi

    I consider using fs as the tool to collect reports form users about technical problems in our site.
    I need to know from them info about the browser they use, the screen resolution, and the OS.
    The info form HTTP_USER_AGENT is not sufficient.
    I know it's possible to gather this information with javascript, but is it possible to embed this javascript somehow to fs, via the hidden field or something else?
     
    Thanks
    Ilana
  • 07-06-2010 9:40 In reply to

    • Tom
    • Top 10 Contributor
    • Joined on 05-19-2007
    • Switzerland
    • Data Illusion

    Re: info about browser, OS & screen resolution

    Hi,

    you would need to create a server side answer item using the .NET based SDK that generates one hidden field and the corresponding client side javascript that will fill that hidden field with the variable that you need.

  • 07-06-2010 9:46 In reply to

    Re: info about browser, OS & screen resolution

    Hmm. I'm not sure how it can be done. can you give a simple example please?

     

  • 07-07-2010 4:38 In reply to

    • Tom
    • Top 10 Contributor
    • Joined on 05-19-2007
    • Switzerland
    • Data Illusion

    Re: info about browser, OS & screen resolution

    Hi,

    you may check the fielditem.cs example inside the SDK answer item samples zip file which shows how to create a new answer type based on a field, base on this sample you can start to create your own answer item by replacing the texbox control by a hidden field and by generating the client side script using the .net scriptmanager object. Note that the development of answer types requires visual studio 2008 or above, knowledge of c# and .net programming of server side web controls.

Page 1 of 1 (4 items)
(c) 2008 Data Illusion. All Rights Reserved.