In courses page Certification creation page i need to add one text field ex:partent name: Text Box
I added one field in database and i added text filed in mod/certification/mod_form.php
Code: $mform->addElement('text','parent', 'parent','maxlength="100" size="10"');
I added In db mdl_certificate table "parent" field and i gave default valu" 0".
text values is not inserting into moodle table.