Modified the page to make sure that the fields are required