I'm implementing a simple 'tick to agree to terms and conditions box' in Deform/Colander.
So, I simply want to check that the box is checked and have an error message saying 'You must agree to T&C'.
I understand that I can use:
colander.OneOf([True])
to ensure the box is ticked. However, OneOf does not allow for a custom error message. What would the correct way to do this be?