Data validation Clarity when setting value programmatically

When setting a value programatically, or even simply with event handlers. the set value ignores data validation. This can lead to a lot of confusion. Is there anyway to still include data validation when setting the value programitcally or from event handlers? Thanks :slight_smile: