Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 4 of 4

Thread: Script error for custom item using multiple variables, form (case 22425)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2013
    Posts
    1,093
    I'm glad to hear that you found a workaround.

    After playing with your html code, it appears that the script error was related to this line of code:

    <body onload="document.form.name.focus();">

    I created a Custom item (see attached files) without that line in it and based on the same Sample code you used. I also changed the <ml.totals> to <ml.varname> to get the responses in the boxes to record in the MediaLab data file. Where did you get the use of <ml.totals>?

    It ran on MediaLab 2014 without the script error box and successfully recording the data. Feel free to take a look. After downloading the .txt file, make sure to change the file format to .htm to use it with the .que file.
    Attached Files Attached Files

Similar Threads

  1. Replies: 1
    Last Post: 11-14-2015, 10:42 AM
  2. Custom item not recognizing ml. variables
    By xihao_he in forum MediaLab Older Versions: Troubleshooting
    Replies: 0
    Last Post: 11-13-2009, 01:42 PM
  3. Custom item with various html form elements
    By huiyun in forum MediaLab Older Versions: Troubleshooting
    Replies: 1
    Last Post: 11-05-2009, 10:59 PM
  4. Custom item issue with multiple radio
    By maxweis in forum MediaLab Older Versions: Sharing Area
    Replies: 1
    Last Post: 06-17-2008, 04:58 PM
  5. Repeating a custom item that has multiple questions?
    By jarvis24 in forum MediaLab Older Versions: How Do I...
    Replies: 5
    Last Post: 01-16-2007, 10:25 AM

Tags for this Thread

Posting Permissions

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