Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 17 of 17

Thread: Custom item - Autosum

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2008
    Posts
    14

    custom percentage item

    I also need an item just like this (which I have posted about in another thread before finding this one). It looks great at first - however, I couldn't get it to work because whenever the total was supposed to add up to 100, the box said it was '10'. Thoughts? fixes?

    There's also a straggling letter 'h' hanging down on the page - not sure if this has anything to do with it. I'm not super familiar with Javascript, although I've been trying/willing to learn in order to deal with these items I need.

  2. #2
    Join Date
    Aug 2008
    Posts
    14
    Got this to work for me after all! Some minor edits to the code, and it worked beautifully. I suspect maybe it didn't work before because of some browser compatibility issues, but I don't know for sure. Anyway, thanks to all for providing this code - it was a big help to me.

  3. #3
    Join Date
    Nov 2005
    Posts
    3,328
    Wagnerla,

    Thanks for the update--would you care to post and attach your revised version just in case it could help anyone who comes across the same problem?

    -Blair

  4. #4
    Join Date
    Aug 2008
    Posts
    14

    updates to autosum

    Sure - here's my version of it. I took out the hanging "h" which seemed to be causing some problems. I also re-did the layout so the percentages are vertical instead of spread out across the page, and made it so that a participant can enter "100" in one box and leave the rest as zero. There's a style sheet that makes it look more similar to the default MediaLab style, for better continuity. I hope this is helpful to some people.
    Attached Files Attached Files

  5. #5
    Join Date
    Nov 2005
    Posts
    3,328
    Thanks, this looks great!!

  6. #6
    Join Date
    Oct 2008
    Posts
    2
    Could someone tell me what codes to use to get the table here, especially how to get the total 100? Thanks,

  7. #7
    Join Date
    Nov 2005
    Posts
    3,328
    Can you elaborate? e.g., are you wondering how to edit the underlying html code, or how to use the form within a MediaLab questionnaire?

Similar Threads

  1. custom item with background image
    By rkozink in forum MediaLab Older Versions: How Do I...
    Replies: 1
    Last Post: 05-04-2006, 01:10 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
  •