2022_09_20 1. use small letter function name like validate_hr_frm or cleardetails. use prefix hrs_validate_frm 2. While click on Generate button, plz use Ajax to generate below table. Table will be echo in php code (php file) 3. When user converts Sat/Sun entry from 0 to some number in Hrs then row will no more highlighted and in case any non-zero Hrs become Zero then row will be highlighted as Hrs fill with zero automatic 4. Till you have any of Zero entry/row , Submit btn stay disabled 5. textbox name/id, variibles and label value all are in small caps