lets not and say we did. are syntax errors really something you need to ask for help with? it meens youve missed out a ; or } or whatever. find it, and fix it.
how can i set that every inputfield have to be filled in
there is no setting for this. you need to develope the checks yourself. eg;
if (isset($_POST['foo'])) {
// foo was filled out
} else {
// foo was left blank
}