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

Help for radio buttons does not display

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.0
    • Forms Library
    • None
    • MOODLE_20_STABLE
    • 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

              howardsmiller Howard Miller
              howardsmiller Howard Miller
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                24/Nov/10