Making an Entityform field required using jQuery
Javascript can only handle soft (client-side) validation, unless you start looking into AJAX validation.

You need to alter the form on the server side to ensure that the data is validated properly - never rely on JS validation, it should only be used for UI/display purposes, and form data can easily be overridden by the user.