Making radio input and password length a requirement : javascript


I have this registration form, and I need to make the gender part a requirement like the other parts. I have the date, and text parts working, but I don’t know how to do it for the radio button. Same goes for the password length.

Here is my code (apologies if it’s messy):

قالب وردپرس