Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 12 of 12

Thread: Create fake pop-up error message

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Posts
    2

    Create fake pop-up error message

    Hi, I'm trying to program a medialab file such that a fake text box comes up saying that there has been a computer error with the program and that it needs to be shut down (and look just like what you would normally see on a windows computer whenver there is an error). I remember that there is a way to program pop up windows, but I can't remember how. Anyone know how?

  2. #2
    Join Date
    Nov 2005
    Posts
    3,328
    What do you want to happen from that point? e.g., Is it just the appearance you want or do you want the button box to have any functionality?

  3. #3
    Join Date
    Mar 2009
    Posts
    2
    Mostly appearance. If anything I'd want it to reappear if it is clicked on so that the subject cannot advance past that point (requiring a ctl/alt/dlt restart).

  4. #4
    Join Date
    Nov 2005
    Posts
    3,328
    There are a couple ways to do this. The simplest would be to create a fill in the blank question and use the top (t) parameter to move the question off the screen (e.g., t2000). For question wording, instruct the subject to press "enter" to continue. This will bring up a message box that says something like "it would be ideal if you were to type something". You can edit the text of that message using a substitute.txt file (see user's guide for the section on using the messages.txt and substitute.txt files, or online here: http://www.empirisoft.com/medialab/help/preferences.htm).

    You could change the text to "There has been a system error. Press enter to continue" or whatever you like. They can keep pressing enter and they will keep getting this message.

    Slightly more complicated solutions might allow more flexibility (e.g., creating a custom html page) but this would be pretty quick to implement.

  5. #5
    Join Date
    Mar 2009
    Posts
    4

    pop-up issue

    I have a similar question. I need to create a pop-up box after a custom item (the html file asking subjects to do calculations and enter their answer in a text box). No matter what they enter, they will see a message saying that the number was wrong. However, they should be allowed to move on to the next page if they decide to give up by clicking "Continue."

    Could you help me with this? Thank you so much!

  6. #6
    Join Date
    Nov 2005
    Posts
    3,328
    Do a search in the MediaLab forums here on "validate" or "validation". That should turn up some threads discussing conditional pop-up windows when using custom items via HTML forms and the various options you have from that point onward.

Similar Threads

  1. ..create a Pop up button that appears after a specified time while viewing a screen?
    By hnoel in forum MediaLab Older Versions: How Do I...
    Replies: 1
    Last Post: 12-15-2008, 03:19 PM
  2. Supressing error message
    By Andrew.ID in forum MediaLab Older Versions: How Do I...
    Replies: 2
    Last Post: 12-03-2007, 11:41 AM
  3. InstallShield error message
    By jarvis24 in forum MediaLab Older Versions: Troubleshooting
    Replies: 3
    Last Post: 11-07-2007, 11:43 AM
  4. Error message
    By jlmarcon in forum MediaLab Older Versions: Troubleshooting
    Replies: 1
    Last Post: 04-17-2007, 10:12 AM
  5. Error: Can't Create ActiveX Object
    By jarvis24 in forum DirectRT Older Versions: Troubleshooting
    Replies: 0
    Last Post: 11-24-2005, 01:49 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
  •