I agree with Gasman, resequencing the controls makes more sense. You can even hide/show the optional field if that would be useful. BUT as the others have already mentioned, the form's BeforeUpdate event is where the validation must go.
If you are using unbound forms, you are not using Access to your best advantage and should probably be using a different development platform.