How to add custom fields and how to get and store those custom field details to database while creating new courses in Open edX

@madhumohan Have you looked at the Open edX documentation page about this? You have explanations, and some examples:

https://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/customize_registration_page.html

See also past threads on this, like: