in main_submit(), calling validate fn that checks for required module