Suppose I have two input text fields: one for a regular phone number and another for a cellphone number. How would I go about validating that at least one field is not empty?
E.g. if telephone is not empty but cellphone is empty, it's considered valid. if cellphone is not empty but telephone is empty, it's considered valid. if both telephone and cellphone are empty, it's considered invalid.
Is it possible for this to be expressed with FormEncode?
To validate with formencode that at least one field is filled.