WE do following to add a new element in
(lets say i am storing informaation of a teacher in multiple fields)
$mform->addElement('text', 'alltext', get_string('Name', 'outline'), array('cols'=>25, 'rows'=>1));
$mform->addElement('text', 'alltext', get_string('Instructor', 'outline'), array('cols'=>25, 'rows'=>1));
Hmm now here is the problem..the two 'alltext' is overridden other and only one is displayed...I wanaa display both of them in order to save their record to Database too..
Any idea or suggestion for this moodleBeginer????
General developer forum
Multiple alltext format in single Resource plugin
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.