Why is the form not obeying rules or displaying the form?