And such range depends on the content of another field
If the user inserts a value that is out of that range, then the record shouldn't be saved.
How do I achieve this ?