Hi Kranthi
You must change the code, when you add or edit a module instance course/mod.php script opens the file mod/modulename/mod.html of the selected module.
You can add javascript functions in inputs or submits to inform after send the form; and/or you can modify mod/modulename/lib.php add_instance/update_instance functions to check variables values.
Workshop
How to customize the code
This discussion has been locked so you can no longer reply to it.