I\'m trying to validate my HTML inputs by JS functions (client-side), and pass these inputs to PHP program (server-side), if they are validated successfully. Below is my cod