We have a requirement for a group of settings.
Option1 A or B
Option2 A or B
OptionX true or false
Any combination of 1 and 2 are valid whilst X is false.
However when X is true, the other setting must be 1A and 2A.
Further info: the solution im working on has a paradigm of no on page validation (business requirement outside of my control)
Question: If a user has an invalid selection saving setting X as true what should the UI do?
The options I've thought up so far are:
Throw an error back to the page on post back and force the user to correct the mistake and don't save anything
force the correct setting in the back end and give the user an alert that I have made the change for them
The first solution adds more thinking for the user, but the second feels wrong changing the settings without the explicit consent of the user.
Fyi, if these settings are wrong, bad things happen to the system, so the user really wants them to be right.
Thanks for your help!