jQuery add required to input fields October 8, 2022 by Tarik $("input").prop('required',true); DEMO FIDDLE