RE: [coldbox:17714] Re: ColdBox-3.5 Validation

Can you put in a ticket here:
https://ortussolutions.atlassian.net/browse/COLDBOX

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Sure, logged https://ortussolutions.atlassian.net/browse/COLDBOX-130?jql=project%20%3D%20COLDBOX

Just to let anyone else know, I’ve found a ‘workaround’. Instead of using ‘method’ as the validation method, you can use ‘required’. Which will not error if the property is null. Though obviously this is limited, for example… If I wanted to make sure the property is not null and it’s of a certain type. “currencycode is not null && currencycode.isSupportedBySeller( this.getSeller() )”

Thanks for your help guys.