Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 3 of 3

Thread: Custom items

  1. #1
    Join Date
    Mar 2009

    Custom items

    On the custom items, I am having a problem making the background look like the other items. Is there an html code I can use? I tried the one suggested but it didn’t work when I tried to do multiple variables.

  2. #2
    Join Date
    Mar 2009
    Hi Cnslab,

    Have you taken a look at the Custom Items section within the documentation?

    Once you've read through the documentation, you may also want to try testing out and then manipulating the custom item sample files.


  3. #3
    Join Date
    Nov 2005

    Custom Items (e.g., multiple questions on one page) w/o changing colors and fonts

    Also of note here--after some revisions of how custom items were initially handled in v2006, we created an insertable variable called <ml.styles>. If you add this to your HTML code then MediaLab will automatically insert the colors and fonts you are using at the time on regular items. It's a really easy way to have your custom items match the look and feel of regular items. Note the line to add is "<style><ml.styles></style>". The following is a custom item that asks multiple demographic items on one page, taken from the v2008 "Sample 5 Custom Items" folder. Note also the inclusion of the line "...saved from URL..."--this is included to prevent HTML security warnings.

    <!-- saved from url=(0013)about:internet -->
    <body onload="document.form.name.focus();"> 
    <form name="form" method="post">
        <tr><td> Name? </td><td> <input name="name"></td></tr>
        <tr><td> Age? </td><td> <input name="age"></td></tr>
        <tr><td> Sex? </td><td> <input name="sex"></td></tr>
        <tr><td> Ethnicity? </td><td> <input name="ethnicity"></td></tr>
        <tr><td> Marital Status? </td><td> <input name="marital"></td></tr>
        <tr><td> <br><input type="submit" value="Continue"></td></tr>
    This might look way harder than it actually is. Again as Trevor suggested above, be sure to check out the chapter on custom items in the users guide and try running and modifying the samples to suit your needs. Try also searching for "custom items" here in the forums to turn up some additional samples and issues that have been dealt with.
    Last edited by jarvis24; 02-20-2010 at 03:58 AM.

Similar Threads

  1. Making custom instructions and items appearing twice
    By Rene Kopietz in forum MediaLab Older Versions: Troubleshooting
    Replies: 10
    Last Post: 03-24-2010, 04:02 PM
  2. Creating Custom items
    By pallavi.chilappagari in forum MediaLab Older Versions: How Do I...
    Replies: 11
    Last Post: 02-20-2010, 04:19 AM
  3. Problem with ü (umlaut) when using html-custom items
    By Henrik in forum MediaLab Older Versions: Troubleshooting
    Replies: 1
    Last Post: 11-17-2008, 04:19 PM
  4. Quickstyles & Custom Items
    By ryalch in forum MediaLab Older Versions: How Do I...
    Replies: 1
    Last Post: 01-17-2007, 04:10 PM
  5. Going to the next screen using Custom Items
    By kristen.wwu in forum MediaLab Older Versions: General Questions
    Replies: 3
    Last Post: 10-26-2006, 02:12 PM

Posting Permissions

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