- I have a custom control with piles of properties, most of which are optional. Two of them however, are such that one of them is required but not both. In the validation I have:
(first.toString!="" || second.toString()!="")
which does not work. This fails if either one of the parameters is missing, where it need to succeed if either one of the parameters is present.
- I've found little to nothing so far on more advanced validation on custom properties. Is this even possible?
Thanks for your time...