Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 48 of 48

Thread: Slider size (case 17391)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2007
    Posts
    13

    Test slider

    Hi,

    attached a zipped file with the slider and data folders and a simplified version of the experiment (the experiment originally included many images and directrt files that I omitted to reduce file size. The problem also appears in this simplified version).

    As you can see, in all the slider measures "ok" is written instead of data. All the not-slider measures worked. Finally the exact same file runned perfectly including data collection in v2006.

    Finally we still have the data files from the original experiment. Is there possibly a way to retrieve the data from those it is lost for good?

    Thanks for a prompt reply
    Attached Files Attached Files

  2. #2
    Join Date
    Nov 2005
    Posts
    3,328
    Yes, I ran the sample you attached, and I got the result you described. I don't think there is a way to retrieve those data, but I do think I can explain why it happened.

    I took a look at the html in a few of your sample custom items. In the area where you define the variable name for the response, you have it set to "var" but that is not a variable in your experiment. e.g., the first two items to use "like.htm" are ashlik and cuplik. But for both, the variable name stated in the html is name="var" and so MediaLab would not know you want the first two responses posted from like.htm to be assigned to ashlik and cuplik, respectively.

    What ought to work, e.g., for ashlik would be if the html were to use name="ashlik". Consequently,it would use the form data for the MediaLab item that uses that variable name. This method is a bit cumbersome though because in your case you would have to create a different html file for each item (e.g., a different version which uses name="cuplik"). See the section on Creating Custom Items in the user's guide for more detail on using a single custom item file with multiple variables

    So after all that--the easiest alternative here would be to use name="<ml.varname>" in your html. That tells MediaLab to use the name of the current item so you can use one file (such as like.htm for multiple items). In fact, I'm curious--the original code for the slider posted in this thread (above) actually uses <ml.varname>. Is there a reason you changed it to "var"?

    Hope this makes some sense.

Similar Threads

  1. MediaLab Version 2008.1
    By jarvis24 in forum MediaLab v2018: Version History
    Replies: 8
    Last Post: 02-26-2024, 08:50 PM
  2. DirectRT Version 2008.1
    By jarvis24 in forum DirectRT v2018: Version History
    Replies: 7
    Last Post: 10-26-2018, 07:28 AM
  3. Version / Backwards Compatibility (case 40)
    By jarvis24 in forum Pre-Sales and Licensing FAQ
    Replies: 4
    Last Post: 07-23-2012, 10:12 AM
  4. older versions and MediaLab 2008
    By NancyBrodsky in forum MediaLab Older Versions: General Questions
    Replies: 3
    Last Post: 04-07-2008, 01:38 PM
  5. Run-only version?
    By mha in forum Pre-Sales and Licensing FAQ
    Replies: 1
    Last Post: 09-25-2007, 07:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •