Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 12 of 12

Thread: Creating Custom items

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Creating Custom items

    Hi all

    Could you please tell me how to create custom items in MediaLab-i would like to make use of drop down lists and radio buttons in my application.

    thanks in advance

    pallavi

  2. #2
    Join Date
    Nov 2005
    Posts
    3,328
    [update Nov 11, 2006: here is a link to the section on Cutom Items from the v2006 manual: www.empirisoft.com/medialab/help/custom_items.htm]

    Custom items are way easier than they were in v2004. You create a web page using whatever program you like. If it shows up in Internet Explore then it will work fine. You can include any html form techniques you like for as many variables as you like. Just make sure your form uses "method=post"

    List the item as a custom item in your questionnaire, indicating the name of the file in the filename field. MediaLab will present it and will intercept any posted data and save it to your data file so long as the posted variable name exists in your experiment somewhere as an item. If you have multiple variables in a single custom item, then just create extra custom items with the additional variable names needed.

    I've posted a sample here that uses radio buttons. Let me know if you have any trouble with it.

    Note this sample requires v2006.1.34 or later.
    Attached Files Attached Files
    Last edited by jarvis24; 11-11-2006 at 05:57 PM.

  3. #3
    Thank you very much.
    best
    pallavi

  4. #4
    Join Date
    Nov 2005
    Posts
    3,328
    Here is a revision that shows you how to do multiple radio button questions on one page. It's essentially the same as just one. The big difference is that you now have more variable names. Normally, you would just have your MediaLab variable name match the HTML form variable name. Since you can't get away with this now, this is what you can do..

    Create additional custom items in your questionnaire with the additional HTML form variable names you want to keep. If you do not include a filename for the items, then MediaLab will know they are just placeholders for additional variables. Check out the attached sample. It lists some extra custom items at the end that have no file names. But because the variable names are used in an HTML form, MediaLab will save the data when it's collected.

    Remember these html forms can be edited easily in any text editor like the Windows notepad.exe editor.
    Attached Files Attached Files

  5. #5
    Join Date
    Aug 2006
    Posts
    2

    Multiple radios display

    I've succeeded running multiple radios and obtaining the data from each of the items. However, for the empty custom items in the questionnaire (the ones that stand there as dummies just to capture data on their variable name), medialab seems to force itself to display an html page (despite the fact I did not name a file!) - which leads to an error screen on the browser (no page available). How do I convince medialab to just use the added custom lines for data saving from the previous html file rather than trying to display additional custom items? Thanks!

  6. #6
    Join Date
    Nov 2005
    Posts
    3,328
    May be a version issue. The feature that gets MediaLab to skip any custom item without a filename came in v2006.1.28. If you have a version that's prior to that, try installing the latest version from the download page.

Similar Threads

  1. Creating a calendar (case 14023)
    By prnowlin in forum MediaLab Older Versions: Sharing Area
    Replies: 2
    Last Post: 04-15-2014, 05:05 PM
  2. Randomly presenting n of N items
    By jarvis24 in forum DirectRT Older Versions: How Do I...
    Replies: 1
    Last Post: 10-02-2006, 06:39 PM
  3. Creating Passwords
    By L Gray in forum MediaLab Older Versions: How Do I...
    Replies: 1
    Last Post: 07-06-2006, 12:28 PM
  4. Creating Conditions
    By darkkat28 in forum MediaLab Older Versions: How Do I...
    Replies: 1
    Last Post: 04-25-2006, 08:38 AM
  5. Place an overall time limit on a series of items?
    By jarvis24 in forum MediaLab Older Versions: How Do I...
    Replies: 1
    Last Post: 02-27-2006, 10:17 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
  •