Search the Legacy Support Archive (up to v2020)
  1. Read-only archive (2005–2024). Posting is closed. Need help with MediaLab or DirectRT 2027? Email service@empirisoft.com.

    All words · “exact phrase” · -leave out

    Advanced search

add a button that counts the clicks

  1. #1

    add a button that counts the clicks

    I am currently designing a MediaLab-based study. The study is that participants are asked to write in an essay box while inhibit thinking of a white bear (whenever they fail to do so, they need to click a button).

    To do so, I need to have a button that counts all the button clicks and an essay box. However, I don't know how to do this using custom items.

    Could someone help me with this?

    Thanks a lot!

  2. #2
    you can do so with a little javascript inside your html-page

  3. #3
    jarvis24 Blair Jarvis, Administrator
    Yes, you could do this with some javascript within some HTML. I'm wondering though if you could get by with having them click a button on the keyboard instead of one on the screen. If so, there is way you could track that very easily while they write their essay using the "k" parameter (see user guide, or I can elaborate here). However, if it needs to be an on screen button then we can discuss that more here.