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

Help for radio buttons does not display

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Forms Library
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      You can code this.... (for example)

      $radioarray = array();
      foreach ($fileformatnames as $id => $fileformatname) {
      $radioelement = &MoodleQuickForm::createElement('radio','format','',$fileformatname,$id );
      $radioelement->setHelpButton(array('import','something'));
      $radioarray[] = $radioelement;

      ...inspecting the array produced shows that the help button code is correctly generated within the structure but it is not displayed when the form is rendered.

      Investigating.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              howardsmiller Howard Miller
              Reporter:
              howardsmiller Howard Miller
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10