My problem is that i have a form which i made in HTML which contains 5 fields which are always required (name, city, adres, house number and phone number)
Then I have 11 fields where only 1 field is required.
My question is specific to those 11 fields only.
So basically when the user submits the form (first 5 are filled in properly) it needs to give some kind of error.
But when 1 or more of those 11 input fields are filled in it needs to go through.
I tried countless of different things. And i just read something about placing those 11 input fields in a class="" and make a custom validator of some kind. I don't know if this is the correct solution (and if it is what does a custom validator look like)
I'm not experienced in php or JQ or JS that's why this is such a big problem for me.
I hope my question is formulated correctly, if not let me know!