And in this case they did the right thing and don't allow you to both check "none" and any of the other checkboxes, preventing you from giving nonsensical answers.
And in this case they did the right thing and don't allow you to both check "none" and any of the other checkboxes, preventing you from giving nonsensical answers.
> Finally, we also added some JavaScript code to prevent users from ticking the ‘none’ checkbox as well as one of the others. This is to avoid users giving contradictory answers.
I hope they have server side checks as well because this enhancement comes at a cost of state management that isn't guaranteed to happen if JS is the only barrier to reconciling incompatible selections.
GOV.UK are pretty good when it comes to this stuff and focusing on progressive enhancement.[0]
[0] https://www.gov.uk/service-manual/technology/using-progressi...
The aggravating thing is that it has two distinct meanings. It can mean "nobody has specified this value" or it can mean "this value has been determined by the relevant authority to be unspecified".
But the distinction has to be tracked externally somehow, because there's no way to change the menu.
>Use this new feature wherever services already have a ‘none’ checkbox.