Hi Moodle Community,
I am going to developed New course format plugin. I need simple text box which is default disable. can this possible after selecting my format while creating new course.
I am using like. :
'location' => array(
'type' => PARAM_TEXT,
),
/*******************************/
'location' => array(
'label' => new lang_string('location', 'format_location'),
'help' => 'location',
'help_component' => 'format_classroom',
'element_type' => 'text',
),
There is "location" text box which I want set default value and it's should be disable.
Help Me.