fix a bug in registration form

some fields that are not shown should be marked as not required