Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-43654

Branching parent based on actual text, not "label"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7
    • Fix Version/s: 2.7
    • Component/s: Survey 2
    • Labels:
    • Affected Branches:
      MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE

      Description

      Q1: Radio Button "In what condition did you get your car?"
      Options:
      new::I bought it new
      second-hand::I bought it second-hand

      Q2: text (long or short)
      Why did you buy your car new?
      Branching:
      Parent element: Radio button 1 "In what condition did you get your car?"
      Parent content: new (as prompted by the online help that says to use label)
      Upon saving:
      Notice: Undefined index: in moodle\mod\survey\field\multiselect\plugin.class.php on line 233

      Actually, the Parent content option is expected to be the actual text, not the "label".

        Attachments

          Activity

            People

            Assignee:
            daniss Daniele Cordella
            Reporter:
            rezeau Joseph Rézeau
            Participants:
            Component watchers:
            Daniele Cordella, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              12/May/14