Hello!
When I try to add checkbox or radiobox element to my form, It seems ok in the firefox, and I see only half of checkbox in Internet Explorer!!!
My Code:
$mform =& $this->_form;
$mform->addElement('header', 'topicselection_otheroptions', get_string('topicselection_options', 'topicselection'));
$mform->addElement('checkbox', 'timeslot[0]', 'checkbox', 234345435));
$this->add_action_buttons(false);
i got the same problem, but no answer, i guess the problem come from formslib.
You don't tell us which version of Moodle you are using.
This problem used to exist, but I think it was fixed. Perhaps your theme is missing bug fixes that went into the standard theme.
This problem used to exist, but I think it was fixed. Perhaps your theme is missing bug fixes that went into the standard theme.
moodle 1.8, standard theme.
I use: Moodle 1.8 Beta + (2007021402)
I'll try to update my moodle, because I found one more problem with html area..
I'll try to update my moodle, because I found one more problem with html area..
I've installed Moodle 1.8.2+ (2007021520)
checkboxes look good, but I still have html area problem .
I write:
$mform =& $this->_form;
$mform->addElement('header', 'general', get_string('presentation_comment', 'presentation'));
$mform->addElement('htmleditor', 'text', get_string('presentation_text', 'presentation'));
$mform->setType('text', PARAM_TEXT);
$mform->addRule('text', null, 'required', null, 'client');
$mform->addElement('file', 'submission', get_string('presentation_pptfile', 'presentation'));
$this->add_action_buttons($cancel = false);
but I see 2 thmlarea!!
checkboxes look good, but I still have html area problem .
I write:
$mform =& $this->_form;
$mform->addElement('header', 'general', get_string('presentation_comment', 'presentation'));
$mform->addElement('htmleditor', 'text', get_string('presentation_text', 'presentation'));
$mform->setType('text', PARAM_TEXT);
$mform->addRule('text', null, 'required', null, 'client');
$mform->addElement('file', 'submission', get_string('presentation_pptfile', 'presentation'));
$this->add_action_buttons($cancel = false);
but I see 2 thmlarea!!
Serafim, are you editing a resource or an activity?
I was changing a form on a resource and I also got double html areas. And I'm using Moodle 1.9.3.
I was changing a form on a resource and I also got double html areas. And I'm using Moodle 1.9.3.