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

Multiple choice items with custom format

  1. #1

    Multiple choice items with custom format

    Using html file, I set multiple choice items with Item type of "Custom".
    e.g.,
    <input type="checkbox" name="<ml.varname>_03" value="1">
    <input type="checkbox" name="<ml.varname>_03" value="2">
    <input type="checkbox" name="<ml.varname>_03" value="3">

    The problem is that only the last selection of checkbox is recorded.
    For example, if 1 and 3 are chosen, only 3 is recorded.

    How can I make all checked items recorded?

  2. #2
    It seems as though this problem may be able to be remedied by implementing three variables to intercept the data, and then changing the HTML as followed:
    <input type="checkbox" name="<ml.varname>_01" value="1">
    <input type="checkbox" name="<ml.varname>_02" value="2">
    <input type="checkbox" name="<ml.varname>_03" value="3">

    Does this make sense?